Constructors
constructor
- new Queue(concurrent?: number): Queue
Methods
clear
- clear(): void
Returns void
count
- count(): number
Returns number
execute
- execute<T>(func: () => Promise<T>, key?: string | number): Promise<T>
Parameters
- func: () => Promise<T>
Optional
key: string | number
Returns Promise<T>