MCPcopy
hub / github.com/midrender/revideo / cancel

Method cancel

packages/core/src/threading/Thread.ts:185–190  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

183 }
184
185 public cancel() {
186 this.runner.return();
187 this.isCanceled = true;
188 this.parent = null;
189 this.drain(task => task.return());
190 }
191
192 public pause(value: boolean) {
193 this.isPaused = value;

Callers 2

threadsFunction · 0.80
cancelFunction · 0.80

Calls 1

drainMethod · 0.95

Tested by

no test coverage detected