idleTimeout property

Duration? idleTimeout
final

The time a worker can stay idle before it exits and is disposed. If null, the workers don't exit when idle.

Implementation

final Duration? idleTimeout;