Click or drag to resize
SchedulerScheduleOnce Method (TimeSpan, ActorRef, Object, CancellationToken)
Schedules a message to a receiver once.

Namespace: Akka.Actor
Assembly: Akka (in Akka.dll) Version: 0.8.0.0 (0.8.0.0)
Syntax
public Task ScheduleOnce(
	TimeSpan initialDelay,
	ActorRef receiver,
	Object message,
	CancellationToken cancellationToken
)

Parameters

initialDelay
Type: SystemTimeSpan
The initial delay.
receiver
Type: Akka.ActorActorRef
The receiver.
message
Type: SystemObject
The message.
cancellationToken
Type: System.ThreadingCancellationToken
The cancellation token.

Return Value

Type: Task
Task.
See Also