narupatools.core.event

Event-based callback system with support for typing.

Classes

Event(callback_type)

Class which stores a set of callbacks, which are invoked when an event is published.

EventListener(*args, **kwargs)

Protocol describing an event as seen from an external class.

Exceptions

CallbackMissingParametersError(missing_params, /)

Error thrown when a callback is missing a named parameter.