MCPcopy Create free account
hub / github.com/effect-app/libs / postMessage

Function postMessage

repos/effect/packages/sql/sqlite-wasm/src/SqliteClient.ts:317–318  ·  view source on GitHub ↗
(message: OpfsWorkerMessage, transferables?: ReadonlyArray<any>)

Source from the content-addressed store, hash-verified

315
316 yield* Scope.addFinalizer(scope, Effect.sync(() => postMessage(["close"])))
317
318 const onMessage = (event: any) => {
319 const [id, error, results] = event.data
320 if (id === "ready") {
321 Deferred.doneUnsafe(readyDeferred, Exit.void)

Callers 2

makeFunction · 0.70
sendFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…