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