This is an AZ::Interface<> for managing scheduled events. Users should not require any direct interaction with this interface, ScheduledEvent is a self contained abstraction.
More...
#include <IEventScheduler.h>
This is an AZ::Interface<> for managing scheduled events. Users should not require any direct interaction with this interface, ScheduledEvent is a self contained abstraction.
◆ AddCallback()
Schedules a callback to run in durationMs. Actual duration is not guaranteed but will not be less than the value provided.
- Parameters
-
| callback | a callback to invoke after durationMs |
| eventName | a text descriptor of the callback |
| durationMs | a millisecond interval to run the scheduled callback |
◆ AddEvent()
Adds a scheduled event to run in durationMs. Actual duration is not guaranteed but will not be less than the value provided.
- Parameters
-
| scheduledEvent | a scheduled event to add |
| durationMs | a millisecond interval to run the scheduled event |
- Returns
- pointer to the handle for this scheduled event, IEventScheduler maintains ownership
The documentation for this class was generated from the following file:
- Code/Framework/AzCore/AzCore/EBus/IEventScheduler.h