externalScheduleWork
experimental
Hierarchy
- Ability
- ScheduleWork
Implements
Index
Constructors
Methods
Constructors
externalconstructor
Parameters
Returns ScheduleWork
Methods
externalrepeatUntil
Type parameters
- Result
Parameters
externalcallback: DelayedCallback<Result>
externaloptionallimits: RepeatUntilLimits<Result>
Returns Promise<Result>
externalwaitFor
Parameters
externaldelay: Duration
Returns Promise<void>
externaldiscard
Discards the resources associated with this ability.
Returns void
An
Ability
that enables anActor
to schedule a callback function to be executed with a delay, or until some condition is met.Used internally by the interaction to
Wait
.