Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/andywer/threads.js
/ terminate
Method
terminate
src/master/implementation.node.ts:216–219 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
214
}
215
216
public terminate() {
217
allWorkers = allWorkers.filter(worker => worker !== this)
218
return
super.terminate()
219
}
220
}
221
222
const
terminateWorkersAndMaster = () => {
Callers
nothing calls this directly
Calls
1
terminate
Method · 0.65
Tested by
no test coverage detected