Generic event handler for CallbackManager.
handle_event(
handlers: list[BaseCallbackHandler],
event_name: str,
ignore_condition_name: str | None,
*args: Any = (),
**kwargs: Any = {}
) -> None| Name | Type | Description |
|---|---|---|
handlers* | list[BaseCallbackHandler] | The list of handlers that will handle the event. |
event_name* | str | The name of the event (e.g., |
ignore_condition_name* | str | None | Name of the attribute defined on handler that if |
*args | Any | Default: ()The arguments to pass to the event handler. |
**kwargs | Any | Default: {}The keyword arguments to pass to the event handler |