Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • WorkerOptions

Index

Properties

Optional argv

argv: any[]

List of arguments which would be stringified and appended to process.argv in the worker. This is mostly similar to the workerData but the values will be available on the global process.argv as if they were passed as CLI options to the script.

Optional env

env: Dict<string> | unique symbol

Optional eval

eval: boolean

Optional execArgv

execArgv: string[]

Optional resourceLimits

resourceLimits: ResourceLimits

Optional stderr

stderr: boolean

Optional stdin

stdin: boolean

Optional stdout

stdout: boolean

Optional trackUnmanagedFds

trackUnmanagedFds: boolean

Optional transferList

transferList: TransferListItem[]

Additional data to send in the first worker message.

Optional workerData

workerData: any

Generated using TypeDoc