Properties
Protected
callback
callback: ((data: T) => Promise<R>)
Type declaration
-
- (data: T): Promise<R>
-
Returns Promise<R>
Protected
lastRun
lastRun: number = 0
Protected
pendingData
pendingData: undefined | T
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