pydispatch#

bind(**kwargs)[source]#

Subscribe callbacks to events on the Global Dispatcher

New in version 0.2.2.

bind_async(loop, **kwargs)[source]#

Bind async callbacks to events on the Global Dispatcher

New in version 0.2.2.

emit(name, *args, **kwargs)[source]#

Dispatch the event with the given name on the Global Dispatcher

New in version 0.2.2.

get_dispatcher_event(name)[source]#

Retrieve the Event object by the given name from the Global Dispatcher

New in version 0.2.2.

register_event(*names)[source]#

Register event (or events) on the Global Dispatcher

New in version 0.2.2.

unbind(*args)[source]#

Unbind callbacks from events on the Global Dispatcher

New in version 0.2.2.