code: def trigger(self, event, **kwargs):
          
          with self._handlers.trigger_mutex:
              event = prime_event(event, self.__class__.__name__, **kwargs)
  
              for handler in self._handlers.async_handlers[event]:
                  asynchronous(handler, event)
              for handler in self._handlers.sync_handlers[event]:
                  synchronous(handler, event)
docs: Triggers an event.
  
          All subscribed handlers will be executed, asynchronous ones
          won't block this call.
  
          @param event: (str|see.Event) event intended to be raised.