 | SwitchIfOn Method |
Executes the provided action and returns if the action was executed or not, if the switch is IMMEDIATELY on (i.e. no lock involved)
Namespace:
Akka.Util
Assembly:
Akka (in Akka.dll) Version: 1.2.3.42 (1.2.3.42)
Syntaxpublic bool IfOn(
Action action
)
member IfOn :
action : Action -> bool
Parameters
- action
- Type: SystemAction
The action.
Return Value
Type:
BooleanReturn
true if the switch was on
See Also