 | FSMTState, TDataSetTimer Method |
Schedule named timer to deliver message after given delay, possibly repeating.
Any existing timer with the same name will automatically be canceled before adding
the new timer.
Namespace:
Akka.Actor
Assembly:
Akka (in Akka.dll) Version: 1.2.3.42 (1.2.3.42)
Syntaxpublic void SetTimer(
string name,
Object msg,
TimeSpan timeout,
bool repeat = false
)
member SetTimer :
name : string *
msg : Object *
timeout : TimeSpan *
?repeat : bool
(* Defaults:
let _repeat = defaultArg repeat false
*)
-> unit
Parameters
- name
- Type: SystemString
identifier to be used with CancelTimer(String). - msg
- Type: SystemObject
message to be delivered - timeout
- Type: SystemTimeSpan
delay of first message delivery and between subsequent messages. - repeat (Optional)
- Type: SystemBoolean
send once if false, scheduleAtFixedRate if true
See Also