SchedulerExtensions Methods |
The SchedulerExtensions type exposes the following members.
Name | Description | |
---|---|---|
ScheduleOnce |
Schedules an action to be invoked after an delay.
The action will be wrapped so that it completes inside the currently active actor if it is called from within an actor.
Remarks Note! It's considered bad practice to use concurrency inside actors, and very easy to get wrong so usage is discouraged. | |
ScheduleOnceCancelable(IActionScheduler, Int32, Action) |
Schedules an action to be invoked after an delay.
| |
ScheduleOnceCancelable(IActionScheduler, TimeSpan, Action) |
Schedules an action to be invoked after an delay.
| |
ScheduleRepeatedly |
Schedules an action to be invoked after an initial delay and then repeatedly.
The action will be wrapped so that it completes inside the currently active actor if it is called from within an actor
Remarks Note! It's considered bad practice to use concurrency inside actors, and very easy to get wrong so usage is discouraged. | |
ScheduleRepeatedlyCancelable(IActionScheduler, Int32, Int32, Action) |
Schedules an action to be invoked after an initial delay and then repeatedly.
| |
ScheduleRepeatedlyCancelable(IActionScheduler, TimeSpan, TimeSpan, Action) |
Schedules an action to be invoked after an initial delay and then repeatedly.
| |
ScheduleTellOnce | Schedules to send a message once after a specified period of time. | |
ScheduleTellOnceCancelable(IScheduler, Int32, ICanTell, Object, IActorRef) | Schedules to send a message once after a specified period of time. | |
ScheduleTellOnceCancelable(IScheduler, TimeSpan, ICanTell, Object, IActorRef) | Schedules to send a message once after a specified period of time. | |
ScheduleTellRepeatedly | Schedules to send a message repeatedly. The first message will be sent after the specified initial delay and there after at the rate specified. | |
ScheduleTellRepeatedlyCancelable(IScheduler, Int32, Int32, ICanTell, Object, IActorRef) | Schedules to send a message repeatedly. The first message will be sent after the specified initial delay and there after at the rate specified. | |
ScheduleTellRepeatedlyCancelable(IScheduler, TimeSpan, TimeSpan, ICanTell, Object, IActorRef) | Schedules to send a message repeatedly. The first message will be sent after the specified initial delay and there after at the rate specified. |