Click or drag to resize
SwitchWhileOff Method
Executes the provided action and returns if the action was executed or not, if the switch is off, 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 WhileOff(
	Action action
)

Parameters

action
Type: SystemAction

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

Return Value

Type: Boolean

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

See Also