Here you're replicating the logic found in Dispatcher/EventAsync.php. Wouldn't be easier to use the EventDispatcherAsync that uses EventAsync that already has this logic?