MCPcopy Index your code
hub / github.com/Effect-TS/effect / onMessage

Function onMessage

packages/platform-browser/src/internal/worker.ts:22–24  ·  view source on GitHub ↗
(event: MessageEvent)

Source from the content-addressed store, hash-verified

20 },
21 listen({ deferred, emit, port, scope }) {
22 function onMessage(event: MessageEvent) {
23 emit(event.data)
24 }
25 function onError(event: ErrorEvent) {
26 Deferred.unsafeDone(
27 deferred,

Callers

nothing calls this directly

Calls 1

emitFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…