def __call__(self, *args, **kwargs):
if self.emission_lock.held:<EOL><INDENT>self.emission_lock.last_event = (args, kwargs)<EOL>return<EOL><DEDENT>if AIO_AVAILABLE:<EOL><INDENT>self.aio_waiters(*args, **kwargs)<EOL>self.aio_listeners(*args, **kwargs)<EOL><DEDENT>for m in self.listeners.iter_methods():<EOL><INDENT>r = m(*args, **kwargs)<EOL>if r is False:<EOL><INDENT>return r<EOL><DEDENT><DEDENT>
Dispatches the event to listeners

        Called by :meth:`~Dispatcher.emit`