- Preparing search index...
- The search index is not available
nope-js-node
Type alias TLimitedOptions
TLimitedOptions: { activeTasks: Set<string>; assignControlFunction: ((args,
functions) => any[]); awaitingTasks: Set<string>; callbackBetween?: (() => Promise<void>); emitter: EventEmitter; functionId: string; getLock: ((functionId,
newTaskId) => boolean); lastDone: number; loggerLevel: false | LoggerLevel; mapping: { [
index:
string]
: ((...args) => Promise<any>); }; maxParallel: number; minDelay: number; queue: [string, string, any[]][]; }
Type declaration
-
activeTasks: Set<string>
-
assignControlFunction: ((args, functions) => any[])
-
- (args, functions): any[]
-
Parameters
-
args: any[]
-
functions: {
continueTask: (() => void);
pauseTask: (() => void);
}
-
continueTask: (() => void)
-
pauseTask: (() => void)
Returns any[]
-
awaitingTasks: Set<string>
-
Optional
callbackBetween?: (() => Promise<void>)
-
- (): Promise<void>
-
Returns Promise<void>
-
emitter: EventEmitter
-
functionId: string
-
getLock: ((functionId, newTaskId) => boolean)
-
- (functionId, newTaskId): boolean
-
Parameters
-
functionId: string
-
newTaskId: string
Returns boolean
-
lastDone: number
-
-
mapping: {
[index: string]: ((...args) => Promise<any>);
}
-
[index: string]: ((...args) => Promise<any>)
-
- (...args): Promise<any>
-
Returns Promise<any>
-
maxParallel: number
-
minDelay: number
-
queue: [string, string, any[]][]
The options for call