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
크기
5.82KB
라이선스
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().