Executes the provided action and returns if the action was executed or not, if the switch is IMMEDIATELY off (i.e. no lock involved)
Namespace: Akka.UtilAssembly: Akka (in Akka.dll) Version: 0.8.0.0 (0.8.0.0)
Syntaxpublic bool IfOff(
Action action
)
Public Function IfOff (
action As Action
) As Boolean
public:
bool IfOff(
Action^ action
)
member IfOff :
action : Action -> bool
Parameters
- action
- Type: SystemAction
The action.
Return Value
Type:
BooleanReturn
true if the switch was off
See Also