chore: remove all comments

This commit is contained in:
thecodrr
2021-10-22 16:29:03 +05:00
parent 850259c6fb
commit 6fab9ad1f3
6 changed files with 23 additions and 34 deletions

View File

@@ -35,11 +35,9 @@ export default class FileStorage {
}
async cancel(groupId, type = undefined) {
console.trace("Cancelling", groupId, type);
const [op] = this._deleteOp(groupId, type);
if (!op) return;
await op.cancel("Operation canceled.");
console.log("Cancellation done:", groupId, this._queue);
}
_deleteOp(groupId, type = undefined) {