externalScheduler
Index
Constructors
Methods
Constructors
externalconstructor
Methods
externaltoJSON
Returns JSONObject
externalafter
Schedules a callback function to be invoked after a delay
Type parameters
- Result
Parameters
externaldelay: Duration
externalcallback: DelayedCallback<Result>
Returns Promise<Result>
externalwaitFor
Returns a
Promise
to be resolved after adelay
Parameters
externaldelay: Duration
Returns Promise<void>
externalrepeatUntil
Schedules a callback function to be repeated, according to configured limits.
Type parameters
- Result
Parameters
externalcallback: DelayedCallback<Result>
externallimits: RepeatUntilLimits<Result> = {}
Returns Promise<Result>
externalstop
Returns void
The maximum amount of time to give to a callback to complete before throwing an error