whistle.typing

class IAsyncEventDispatcher[source]

Bases: IAbstractEventDispatcher, Protocol

async adispatch(event_id, event=None, /)[source]
Parameters:
Return type:

IDispatchedEvent

class IDispatchedEvent[source]

Bases: IEvent, Protocol

dispatcher: IAbstractEventDispatcher
name: str
propagation_stopped: bool
class IEvent[source]

Bases: Protocol

__init__(*args, **kwargs)
stop_propagation()[source]
name: str
propagation_stopped: bool
class IEventDispatcher[source]

Bases: IAbstractEventDispatcher, Protocol

dispatch(event_id, event=None, /)[source]
Return type:

IDispatchedEvent

Submodules