| DeprecatedSchedulerExtensionsSchedule Method (IScheduler, TimeSpan, TimeSpan, IActorRef, Object) |
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("Use ScheduleTellRepeatedly() or Context.SelfTellRepeatedly() which will return an ICancelable. This method will be removed in future versions. [1.0.0]")]
public static void Schedule(
this IScheduler scheduler,
TimeSpan initialDelay,
TimeSpan interval,
IActorRef receiver,
Object message
)
[<ExtensionAttribute>]
[<ObsoleteAttribute("Use ScheduleTellRepeatedly() or Context.SelfTellRepeatedly() which will return an ICancelable. This method will be removed in future versions. [1.0.0]")>]
static member Schedule :
scheduler : IScheduler *
initialDelay : TimeSpan *
interval : TimeSpan *
receiver : IActorRef *
message : Object -> unit
Parameters
- scheduler
- Type: Akka.ActorIScheduler
TBD - initialDelay
- Type: SystemTimeSpan
TBD - interval
- Type: SystemTimeSpan
TBD - receiver
- Type: Akka.ActorIActorRef
TBD - message
- Type: SystemObject
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