- Preparing search index...
- The search index is not available
@tornado/sdk
Constructors
constructor
- new PromisePooler(callbacks, errorHandlers, concurrencyLimit): PromisePooler
-
Properties
_callbacks
_errorHandlers
Private
_getPromiseIndex
_getPromiseIndex: any
Private
_pool
_pool: any
Private
_promises
_promises: any
_results
_results: any[]
Private
_totalAdded
_totalAdded: any
Private
_waitIfFull
_waitIfFull: any
concurrencyLimit
concurrencyLimit: number
Accessors
pending
- get pending(): number
-
Returns number
totalAdded
- get totalAdded(): number
-
Returns number
Methods
all
- all(): Promise<any[]>
-
Returns Promise<any[]>
pool
- pool(...args): Promise<void>
-
Returns Promise<void>
poolMany
- poolMany(...args): Promise<void>
-
Returns Promise<void>
race
- race(): Promise<any>
-
Returns Promise<any>
reset
- reset(): Promise<any[]>
-
Returns Promise<any[]>