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

Namespace:  Akka.Actor
Assembly:  Akka (in Akka.dll) Version: 1.2.3.42 (1.2.3.42)
Syntax
void ScheduleRepeatedly(
	TimeSpan initialDelay,
	TimeSpan interval,
	Action action,
	ICancelable cancelable
)

Parameters

initialDelay
Type: SystemTimeSpan
The time period that has to pass before first invocation.
interval
Type: SystemTimeSpan
The interval, i.e. the time period that has to pass between 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