pub async fn dispatch_session_event_async(
reload_context: &ReloadContext,
tag: EventTag,
) -> Option<String>Expand description
Dispatch a no-payload lifecycle event through the current reload context.
Resolves the current extension session from the reload cell so a
/reload-swapped session is honored. The caller decides what a veto means:
a BeforeTuiStart veto aborts startup (never enter the TUI);
SessionStart/SessionShutdown and the session-tree events dispatched by
the interactive TUI and RPC paths are advisory — the host logs the reason
and continues.