nomad

@lacrypta/nomad v0.0.0 / WorkerConstructor

Type Alias: WorkerConstructor()

type WorkerConstructor: (scriptURL: string | URL, options?: WorkerOptions) => Worker;

The type of a function that will construct a Worker instance.

Parameters

scriptURL: string | URL

The URL to retrieve the Worker code from.

options?: WorkerOptions

Any Worker options to pass on.

Returns

Worker

Defined in

worker.ts:52