Click or drag to resize
Akka.NETIActionScheduler.ScheduleOnce Method (TimeSpan, Action)
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.42 (1.2.3.42)
Syntax
void ScheduleOnce(
	TimeSpan delay,
	Action action
)

Parameters

delay
Type: System.TimeSpan
The time period that has to pass before the action is invoked.
action
Type: System.Action
The action to perform.
See Also