| DeprecatedSchedulerExtensionsScheduleOnce Method (IScheduler, TimeSpan, Action) |
Note: This API is now obsolete.
TBD
Namespace:
Akka.Actor
Assembly:
Akka (in Akka.dll) Version: 1.2.3.129 (1.2.3.129)
Syntax [ObsoleteAttribute("To schedule sending messages use ScheduleTellOnce. Scheduling actions inside actors is discouraged, but if you really need to, use Advanced.ScheduleOnce(). This method will be removed in future versions. [1.0.0]")]
public static void ScheduleOnce(
this IScheduler scheduler,
TimeSpan initialDelay,
Action action
)
[<ExtensionAttribute>]
[<ObsoleteAttribute("To schedule sending messages use ScheduleTellOnce. Scheduling actions inside actors is discouraged, but if you really need to, use Advanced.ScheduleOnce(). This method will be removed in future versions. [1.0.0]")>]
static member ScheduleOnce :
scheduler : IScheduler *
initialDelay : TimeSpan *
action : Action -> unit
Parameters
- scheduler
- Type: Akka.ActorIScheduler
TBD - initialDelay
- Type: SystemTimeSpan
TBD - action
- Type: SystemAction
TBD
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
IScheduler. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also