Aller au contenu
Français

WorkerBackend

Ce contenu n’est pas encore disponible dans votre langue.

Defined in: src/runtime/worker/WorkerBackend.ts:49

spawn(bootstrap, options?): WorkerLike

Defined in: src/runtime/worker/WorkerBackend.ts:55

Spawn a worker from a module URL. Must use module semantics (ES modules with imports) — the equivalent of { type: 'module' } in the Web Worker spec.

URL

WorkerSpawnOptions

WorkerLike