Skip to main content

codex_hook_event_for

Function codex_hook_event_for 

Source
pub fn codex_hook_event_for(event: LifecycleEventKind) -> Option<CodexHookEvent>
Expand description

Map a neutral LifecycleEventKind to the Codex hook event the adapter surfaces for it. Returns None for events Codex’s hook protocol does not expose.