ExecutorShutdown
Shuts down an executor by name.
By default the executors are shutdown gracefully. However, if you want to force the shutdown you can set the force argument to true. If you want to wait for the executor to shutdown you can set the timeout argument to the number of milliseconds to wait.
Method Signature
Arguments
Argument
Type
Required
Description
Default
name
string
true
The name of the executor to shutdown
force
boolean
true
Whether to force the shutdown, default is false
false
timeout
numeric
true
The number of milliseconds to wait for the executor to shutdown
0
Examples
Related
Last updated