@revideo/core / threading / cancel
Function: cancel()
cancel(…
tasks):void
Defined in: threading/cancel.ts:18
Cancel all listed tasks.
Example:
const task = yield generatorFunction();
// do something concurrently
yield* cancel(task);Parameters
tasks
A list of tasks to cancel.
Returns
void