| IActionSchedulerScheduleRepeatedly Method (TimeSpan, TimeSpan, Action) |
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.129 (1.2.3.129)
Syntax void ScheduleRepeatedly(
TimeSpan initialDelay,
TimeSpan interval,
Action action
)
abstract ScheduleRepeatedly :
initialDelay : TimeSpan *
interval : TimeSpan *
action : Action -> unit
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.
See Also