deemixer/server/dist/websocket/modules/cancelAllDownloads.js

11 lines
350 B
JavaScript
Raw Normal View History

2021-05-23 20:42:02 +00:00
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const errors_1 = require("../../helpers/errors");
const main_1 = require("../../main");
const eventName = 'cancelAllDownloads';
const cb = (_, __, ___) => {
main_1.cancelAllDownloads();
errors_1.consoleInfo(`Queue cleared`);
};
exports.default = { eventName, cb };