| ITellSchedulerScheduleTellOnce Method (TimeSpan, ICanTell, Object, IActorRef, ICancelable) |
Schedules to send a message once after a specified period of time.
Namespace:
Akka.Actor
Assembly:
Akka (in Akka.dll) Version: 1.2.3.42 (1.2.3.42)
Syntax void ScheduleTellOnce(
TimeSpan delay,
ICanTell receiver,
Object message,
IActorRef sender,
ICancelable cancelable
)
abstract ScheduleTellOnce :
delay : TimeSpan *
receiver : ICanTell *
message : Object *
sender : IActorRef *
cancelable : ICancelable -> unit
Parameters
- delay
- Type: SystemTimeSpan
The time period that has to pass before the message is sent. - receiver
- Type: Akka.ActorICanTell
The receiver. - message
- Type: SystemObject
The message. - sender
- Type: Akka.ActorIActorRef
The sender. - cancelable
- Type: Akka.ActorICancelable
An ICancelable that can be used to cancel sending of the message. Once the message has been sent, it cannot be canceled.
See Also