Skip to content

createQueue

createQueue(…promises): Queue

Defined in: utils/promise/Queue.ts:8

Creates a new Queue with the given promises.

Parameters

promises

…(Promise<any> | () => Promise<any>)[]

The promises to add to the queue.

Returns

Queue

The created Queue.