MCPcopy Index your code
hub / github.com/andywer/threads.js / terminate

Method terminate

src/master/pool.ts:97–97  ·  view source on GitHub ↗

* Terminate all pool threads. * * @param force Set to `true` to kill the thread even if it cannot be stopped gracefully.

(force?: boolean)

Source from the content-addressed store, hash-verified

95 * @param force Set to `true` to kill the thread even if it cannot be stopped gracefully.
96 */
97 terminate(force?: boolean): Promise<void>
98}
99
100export interface PoolOptions {

Callers 13

runFunction · 0.65
mainFunction · 0.65
testFunction · 0.65
streaming.test.tsFile · 0.65
spawn.test.tsFile · 0.65
pool.test.tsFile · 0.65
terminateMethod · 0.65
terminateMethod · 0.65

Implementers 1

WorkerPoolsrc/master/pool.ts

Calls

no outgoing calls

Tested by 1

testFunction · 0.52