Function
postMessage
(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) |
Tested by
no test coverage detected
Used in the wild real call sites across dependent graphs
searching dependent graphs…