MCPcopy Create free account
hub / github.com/ChrisFeldmeier/OpenCodeRust / emit_session_update

Method emit_session_update

crates/opencode-session/src/prompt.rs:1368–1372  ·  view source on GitHub ↗
(update_hook: Option<&SessionUpdateHook>, session: &Session)

Source from the content-addressed store, hash-verified

1366 }
1367
1368 fn emit_session_update(update_hook: Option<&SessionUpdateHook>, session: &Session) {
1369 if let Some(hook) = update_hook {
1370 hook(session);
1371 }
1372 }
1373
1374 fn maybe_emit_session_update(
1375 update_hook: Option<&SessionUpdateHook>,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected