Notifies a given subscriber array about an event, using the passed args.
Returns this object's ErrorHandler.
Returns this object's middleware list.
Sets the maximum sync execution time of a subscriber.
Sets the maximum sync execution time of a subscriber.
If this time is reached and the subscriber's execution still hasn't finished, the subscriber's execution is moved to parallel and the next subscriber is called.
Useful for avoiding long sync subscribers blocking the event loop.
Setting it to null turns off this behavior.
An object for dispatching events to an array of EventSubscriber, performing middleware and error catching logic in the process.