Dispatch an adhoc event to the handlers (async version).
This event should NOT be used in any internal LangChain code. The event is meant specifically for users of the library to dispatch custom events that are tailored to their application.
on_custom_event(
self,
name: str,
data: Any,
run_id: UUID | None = None,
**kwargs: Any = {}
) -> None