Click or drag to resize
Akka.NETIActionSchedulerScheduleOnce Method (TimeSpan, Action, ICancelable)
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.

Namespace:  Akka.Actor
Assembly:  Akka (in Akka.dll) Version: 1.2.3.129 (1.2.3.129)
Syntax
void ScheduleOnce(
	TimeSpan delay,
	Action action,
	ICancelable cancelable
)

Parameters

delay
Type: SystemTimeSpan
The time period that has to pass before the action is invoked.
action
Type: SystemAction
The action to perform.
cancelable
Type: Akka.ActorICancelable
A cancelable that can be used to cancel the action from being executed
See Also