Click or drag to resize
Akka.NETDeprecatedSchedulerExtensionsScheduleOnce Method (IScheduler, TimeSpan, Action, CancellationToken)

Note: This API is now obsolete.

TBD

Namespace:  Akka.Actor
Assembly:  Akka (in Akka.dll) Version: 1.2.3.42 (1.2.3.42)
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,
	CancellationToken cancellationToken
)

Parameters

scheduler
Type: Akka.ActorIScheduler
TBD
initialDelay
Type: SystemTimeSpan
TBD
action
Type: SystemAction
TBD
cancellationToken
Type: System.ThreadingCancellationToken
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