Click or drag to resize
SwitchWhileOn Method
Executes the provided action and returns if the action was executed or not, if the switch is on, waiting for any pending changes to happen before (locking) Be careful of longrunning or blocking within the provided action as it can lead to deadlocks or bad performance

Namespace: Akka.Util
Assembly: Akka (in Akka.dll) Version: 0.8.0.0 (0.8.0.0)
Syntax
public bool WhileOn(
	Action action
)

Parameters

action
Type: SystemAction

[Missing <param name="action"/> documentation for "M:Akka.Util.Switch.WhileOn(System.Action)"]

Return Value

Type: Boolean

[Missing <returns> documentation for "M:Akka.Util.Switch.WhileOn(System.Action)"]

See Also