OptionalautoOptionalautoOptionalautoWait between queue checks while idle-stopped. Default 5000; a finite number >= 1.
OptionalconcurrencyOptionalconnectionOptionalheartbeatLease renewal period. Default 5000 embedded, 10000 TCP; <= 0 disables, else >= 1.
OptionalidleRecycle a spare idle thread after this long. Default 30000; 0 or Infinity disables it.
OptionalidleStop the pool after this long idle. Default 0; 0 or Infinity disables it.
OptionalmanagerOptionalmaxOptionalmaxOptionalpollWait while every thread is busy. Default 10; a finite number >= 1.
OptionaltimeoutPer-job timeout. Default 30000; 0 or Infinity disables it.
Duration options are milliseconds, validated by the constructor: an invalid one throws a TypeError or RangeError naming it. Long values, above 2^31 - 1 ms too, are honoured exactly.