Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/midrender/revideo
/ drain
Method
drain
packages/core/src/threading/Thread.ts:180–183 ·
view source on GitHub ↗
(callback: (task: ThreadGenerator) => void)
Source
from the content-addressed store, hash-verified
178
}
179
180
public drain(callback: (task: ThreadGenerator) => void) {
181
this.queue.forEach(callback);
182
this.queue = [];
183
}
184
185
public cancel() {
186
this.runner.
return
();
Callers
2
cancel
Method · 0.95
threads
Function · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected