Click or drag to resize
Akka.NETPersistentFSMBaseTState, TData, TEventSetTimer 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.Persistence.Fsm
Assembly:  Akka.Persistence (in Akka.Persistence.dll) Version: 1.2.3.129 (1.2.3.129)
Syntax
public void SetTimer(
	string name,
	Object msg,
	TimeSpan timeout,
	bool repeat = false
)

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