omphalos.event.on
function omphalos.event.on(event, listener)function omphalos.event.on(event, bundle, listener)Listen for a given event to arrive and, when it does, invoke the listener with the payload of the event as an argument.
By default the event is listened for in the current bundle; to listen for events that were sent to some other bundle, pass that as the second argument to the function.
The return value of both functions is a function that can be used to cancel the callback.
This listens for events that are raised by omphalos.event.raise() and
omphalos.event.raiseToBundle().