Metabor\Statemachine\Statemachine::onDispatcherReady PHP Method

onDispatcherReady() public method

is called after dispatcher was executed.
public onDispatcherReady ( )
    public function onDispatcherReady()
    {
        if ($this->dispatcher && $this->dispatcher->isReady()) {
            $context = $this->currentContext;
            $event = $this->currentEvent;
            $this->dispatcher = null;
            $this->currentContext = null;
            $this->currentEvent = null;
            $this->doCheckTransitions($context, $event);
            $this->mutex->releaseLock();
        }
    }