Properties
Protected
callback
callback: ((data: void) => Promise<number>)
Type declaration
-
- (data: void): Promise<number>
-
Returns Promise<number>
Protected
debouncedTimeoutId
debouncedTimeoutId: undefined | Timeout
Protected
lastRun
lastRun: number = 0
Protected
options
options: {
callbackFn: (() => Promise<number>);
name: string;
}
Type declaration
-
callbackFn: (() => Promise<number>)
-
- (): Promise<number>
-
Returns Promise<number>
-
name: string
Protected
pendingData
pendingData: undefined | void
Protected
pendingRun
pendingRun: boolean = false
Protected
running
running: boolean = false
Protected
throttle
throttle: number = 0
An util for retaining an unique snapshot of data while the previous snapshot is being processed