flowpipe.event module

Events are emitted during node evaluation.

They an be used to observe the evaluation process.

class flowpipe.event.Event(name)

Bases: object

Very simple implementation of an event system.event

The event simply calls the registered functions with the given arguments. Please note that the integrity of the listeners is not enforced or checked.


Remove all listeners from this event.


Deregister the given function object if it is registered.

emit(*args, **kwargs)

Call all the listeners with the given args and kwargs.


Whether the given function object is already registered.


Register the given function object if it is not yet registered.