Python-side event handling and emission

Hi everyone,
my question regards the event management on the python side: Is it possible to emit custom made events inheriting from the Event base class solely from within python? Or do those custom events definitely require a JS-callback for bokehJS to know what kind of event it might be even in the case that it doesn’t have anything to do with it? Of course, a bokeh server needs to be supplied in any case.

My intention for this would be to use the already existing event manager to handle python-internal events.

Thank you and have a good one

Jan