Skip to main content Link Search Menu Expand Document (external link)

OpfsWorker overview

Added in v1.0.0


Table of contents


constructor

run

Signature

export declare const run: (options: OpfsWorkerConfig) => Effect.Effect<void, SqlError>

Added in v1.0.0

models

OpfsWorkerConfig (interface)

Signature

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

Added in v1.0.0