public function dispatchAsyncListenersOnly($eventName, Event $event = null)
    {
        try {
            $this->asyncListener->syncMode($eventName);

            parent::dispatch($eventName, $event);
        } finally {
            $this->asyncListener->resetSyncMode();
        }
    }
public function dispatchAsyncListenersOnly($eventName, Event $event = null)
    {
        try {
            $this->asyncListener->syncMode($eventName);

            parent::dispatch($eventName, $event);
        } finally {
            $this->asyncListener->resetSyncMode();
        }
    }
public function dispatchAsyncListenersOnly ( $ eventName , Event $ event = null ) { try { $ this -> asyncListener -> syncMode ( $ eventName ) ; parent :: dispatch ( $ eventName , $ event ) ; } finally { $ this -> asyncListener -> resetSyncMode ( ) ; } }
This method dispatches only those listeners that were marked as async.

@param string     $eventName
@param Event|null $event
This method dispatches only those listeners that were marked as async .