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

Function setInternalEventWriter

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

Source from the content-addressed store, hash-verified

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

Callers 1

constructorMethod · 0.85

Calls 2

getProjectFunction · 0.85

Tested by

no test coverage detected