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

Function onMessageError

packages/platform/browser/src/BrowserWorkerRunner.ts:89–99  ·  view source on GitHub ↗
(error: MessageEvent)

Source from the content-addressed store, hash-verified

87 }
88 }
89 function onMessageError(error: MessageEvent) {
90 Deferred.doneUnsafe(
91 closeLatch,
92 new WorkerError({
93 reason: new WorkerReceiveError({
94 message: "An messageerror event was emitted",
95 cause: error.data
96 })
97 })
98 )
99 }
100 function onError(error: any) {
101 Deferred.doneUnsafe(
102 closeLatch,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected