def METHOD_NAME(self, event: str | type[Event], *callbacks: EventCallback) -> None:
    ''' Run callbacks when the specified event occurs on this Model
    Not all Events are supported for all Models.
    See specific Events in :ref:`bokeh.events` for more information on
    which Models are able to trigger them.
    '''
    if not isinstance(event, str) and issubclass(event, Event):
        event = event.event_name
    for callback in callbacks:
        if _nargs(callback) != 0:
            _check_callback(callback, ('event',), what='Event callback')
        self._event_callbacks[event].append(callback)
    self.subscribed_events.add(event)