Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "index"

Index

Variables

Const debug

debug: IDebugger = logger("workestrator:main")

Const execArgv

execArgv: string[] = process.execArgv.filter((v) => !(/^--(debug|inspect)/).test(v))

Let farms

farms: Farm[] = []

Functions

create

kill

  • kill(): void

validateOptions

Object literals

Const DEFAULT_FARM_OPTIONS

DEFAULT_FARM_OPTIONS: object

killTimeout

killTimeout: number = 500

maxConcurrentCalls

maxConcurrentCalls: number = Infinity

maxConcurrentCallsPerWorker

maxConcurrentCallsPerWorker: number = 10

maxIdleTime

maxIdleTime: number = Infinity

maxRetries

maxRetries: number = 3

module

module: string = ""

numberOfWorkers

numberOfWorkers: any = require("os").cpus().length

serializerPath

serializerPath: string = serializers.JSON

timeout

timeout: number = Infinity

ttl

ttl: number = Infinity

fork

fork: object

args

args: string[] = process.argv

cwd

cwd: string = process.cwd()

env

env: ProcessEnv = process.env

execArgv

execArgv: string[]

execPath

execPath: string = process.execPath

silent

silent: false = false

Const serializers

serializers: object

CBOR

CBOR: string = require.resolve("./worker/serializer/CBOR")

JSON

JSON: string = require.resolve("./worker/serializer/JSON")

Generated using TypeDoc