Skip to main content

core.messaging.dispatchers.event_dispatcher

EventDispatcher Objects

class EventDispatcher(MessageDispatcher[Event])

Message dispatcher specific to Event.

pre_dispatch

def pre_dispatch(msg: Event, msg_meta: EventMetaInformation) -> None

Adds command meta information to a global list so that command replies can be handled properly.

Arguments:

  • msg - The command that is about to be dispatched.
  • msg_meta - The command meta information.