| 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: 1.2.3.42 (1.2.3.42)
Syntax public bool WhileOff(
Action action
)
member WhileOff :
action : Action -> bool
Parameters
- action
- Type: SystemAction
TBD
Return Value
Type:
BooleanTBD
See Also