queue

Asynchronous function queue with adjustable concurrency.

สคริปต์นี้ไม่ควรถูกติดตั้งโดยตรง มันเป็นคลังสำหรับสคริปต์อื่น ๆ เพื่อบรรจุด้วยคำสั่งเมทา // @require https://update.greasyfork.org/scripts/482311/1297431/queue.js

ผู้เขียน
Jason Kwok
เวอร์ชัน
7.0.0
สร้างเมื่อ
15-12-2023
อัปเดตเมื่อ
17-12-2023
สัญญาอนุญาต
MIT
   ____  __  _____  __  _____
  / __ `/ / / / _ \/ / / / _ \
 / /_/ / /_/ /  __/ /_/ /  __/
 \__, /\__,_/\___/\__,_/\___/
   /_/

Asynchronous function queue with adjustable concurrency.

This module exports a class Queue that implements most of the Array API. Pass async functions (ones that accept a callback or return a promise) to an instance's additive array methods. Processing begins when you call q.start().