deemixer/server/dist/websocket/modules/cancelAllDownloads.js
2021-05-23 22:42:02 +02:00

11 lines
350 B
JavaScript

"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 };