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

Function onError

packages/sql-sqlite-wasm/src/SqliteClient.ts:310–312  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

308 port.addEventListener("message", onMessage)
309
310 function onError() {
311 Effect.runFork(ScopedRef.set(connectionRef, makeConnection))
312 }
313 if ("onerror" in worker) {
314 worker.addEventListener("error", onError)
315 }

Callers

nothing calls this directly

Calls 1

setMethod · 0.65

Tested by

no test coverage detected