MCPcopy Create free account
hub / github.com/Effect-TS/effect / registerHandlerUnsafe

Function registerHandlerUnsafe

packages/effect/src/unstable/eventlog/EventLog.ts:128–130  ·  view source on GitHub ↗
(options)

Source from the content-addressed store, hash-verified

126 const reactivityKeys: Record<string, ReadonlyArray<string>> = {}
127 return Registry.of({
128 registerHandlerUnsafe(options) {
129 handlers.set(options.event, options.handler)
130 },
131 handlers,
132 registerCompaction: (options) =>
133 Effect.sync(() => {

Callers

nothing calls this directly

Calls 1

setMethod · 0.65

Tested by

no test coverage detected