Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IWithWorkerOptions

Options for 'withWorker()' function.

Hierarchy

  • IWithWorkerOptions

Index

Properties

checkIfShouldTick?: Nilable<CheckIfShouldTickPredicate>

Checks if worker should be executed or not.

data?: any

The data for the worker script.

debug?: Nilable<DebugAction>

The optional debug action.

env?: Nilable<Record<string, Optional<string>>>

Custom environment variables for the worker thread.

filename: string

The path of the worker script.

name?: Nilable<string>

A custom name for the worker script.

noWait?: Nilable<boolean>

Directly resolve the promise, even if job has not been finished, yet.

Generated using TypeDoc