src/Events/EventDispatcher.php
public function notifyUntil(Event $event, $callback = null)
    {
        if ($this->notify($event)) {
            if ($callback) {
                $callback();
            }
            return true;
        }
        $this->stackedEvents[] = array($event, $callback);
        return false;
    }
public function notifyUntil(Event $event, $callback = null)
    {
        if ($this->notify($event)) {
            if ($callback) {
                $callback();
            }
            return true;
        }
        $this->stackedEvents[] = array($event, $callback);
        return false;
    }
public function notifyUntil ( Event $ event , $ callback = null ) { if ( $ this -> notify ( $ event ) ) { if ( $ callback ) { $ callback ( ) ; } return true ; } $ this -> stackedEvents [ ] = array ( $ event , $ callback ) ; return false ; }
Notifies the listeners of an event. Won't stop until the event has been handled by a listener.

@param Event $event
@param callback $callback Will be called once the event has been processed
@return bool
Notifies the listeners of an event . Won t stop until the event has been handled by a listener .