MCPcopy
hub / github.com/Effect-TS/effect / onError

Function onError

packages/platform-browser/src/internal/workerRunner.ts:85–90  ·  view source on GitHub ↗
(error: any)

Source from the content-addressed store, hash-verified

83 )
84 }
85 function onError(error: any) {
86 Deferred.unsafeDone(
87 closeLatch,
88 new WorkerError({ reason: "unknown", cause: error.data })
89 )
90 }
91 function handlePort(port: MessagePort) {
92 const fiber = Scope.fork(scope, ExecStrategy.sequential).pipe(
93 Effect.flatMap((scope) => {

Callers

nothing calls this directly

Calls 1

unsafeDoneMethod · 0.80

Tested by

no test coverage detected