Simple queue that executes Promises one by one.
SimpleQueue
• get length(): number
Defined in packages/auth-interceptor/src/simpleQueue.ts:14
Returns: number
▸ clean(reason
: any): void
Defined in packages/auth-interceptor/src/simpleQueue.ts:36
Parameters:
Returns: void
▸ 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›
Name
Type
reason
any