Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
interface WorkerOptions
import { type WorkerOptions } from "https://deno.land/std@0.145.0/node/worker_threads.ts";

Properties

optional
argv: unknown[]
optional
env: Record<string, unknown>
optional
execArgv: string[]
optional
stdin: boolean
optional
stdout: boolean
optional
stderr: boolean
optional
trackUnmanagedFds: boolean
optional
resourceLimits: { maxYoungGenerationSizeMb?: number; maxOldGenerationSizeMb?: number; codeRangeSizeMb?: number; stackSizeMb?: number; }
optional
eval: boolean
optional
transferList: Transferable[]
optional
workerData: unknown