ScheduleWork
experimental
Hierarchy
- Ability
- ScheduleWork
Implements
Index
Constructors
Methods
Constructors
constructor
Parameters
Returns ScheduleWork
Methods
repeatUntil
Type parameters
- Result
Parameters
callback: DelayedCallback<Result>
optionallimits: RepeatUntilLimits<Result>
Returns Promise<Result>
waitFor
Parameters
delay: Duration
Returns Promise<void>
discard
Discards the resources associated with this ability.
Returns void
An Ability that enables an Actor to schedule a callback function to be executed with a delay, or until some condition is met.
Used internally by the interaction to Wait.