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

BrowserWorker overview

Added in v1.0.0


Table of contents


layers

layer

Signature

export declare const layer: (
  spawn: (id: number) => Worker | SharedWorker | MessagePort
) => Layer.Layer<Worker.WorkerManager | Worker.Spawner, never, never>

Added in v1.0.0

layerManager

Signature

export declare const layerManager: Layer.Layer<Worker.WorkerManager>

Added in v1.0.0

layerWorker

Signature

export declare const layerWorker: Layer.Layer<Worker.PlatformWorker>

Added in v1.0.0