effect-io-ai

Package: @effect/sql-sqlite-wasm
Module: OpfsWorker

OpfsWorker.OpfsWorkerConfig

Configuration for the SQLite OPFS worker, including the message port used for the client protocol and the OPFS database name to open.

Signature

export interface OpfsWorkerConfig {
  readonly port: EventTarget & Pick<MessagePort, "postMessage" | "close">
  readonly dbName: string
}

Source

Since v4.0.0