MCPcopy
hub / github.com/claude-code-best/claude-code / setInternalEventWriter

Function setInternalEventWriter

src/utils/sessionStorage.ts:502–504  ·  view source on GitHub ↗
(writer: InternalEventWriter)

Source from the content-addressed store, hash-verified

500 * instead of going through v1 Session Ingress.
501 */
502export function setInternalEventWriter(writer: InternalEventWriter): void {
503 getProject().setInternalEventWriter(writer)
504}
505
506type InternalEventReader = () => Promise<
507 { payload: Record<string, unknown>; agent_id?: string }[] | null

Callers 1

constructorMethod · 0.85

Calls 2

getProjectFunction · 0.85

Tested by

no test coverage detected