queue

Asynchronous function queue with adjustable concurrency.

このスクリプトは単体で利用できません。右のようなメタデータを含むスクリプトから、ライブラリとして読み込まれます: // @require https://update.greasyfork.org/scripts/482311/1297431/queue.js

このスクリプトの質問や評価の投稿はこちら通報はこちらへお寄せください。
作者
Jason Kwok
バージョン
7.0.0
作成日
2023/12/15
更新日
2023/12/17
ライセンス
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().