Switch..::..WhileOff 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.UtilAssembly: Akka (in Akka.dll)