SimpleQueue
Simple queue that executes Promises one by one.
Hierarchy
SimpleQueue
Index
Accessors
Methods
Accessors
length
• get length(): number
Returns: number
Methods
clean
▸ clean(reason
: any): void
Parameters:
Name | Type |
| any |
Returns: void
put
▸ put<T>(item
: function): Promise‹T›
Queues specified promise and returns when it's done
Type parameters:
▪ T
Parameters:
▪ item: function
▸ (): Promise‹T›
Returns: Promise‹T›
Last updated