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

11 lines
374 B
JavaScript

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const errors_1 = require("../../helpers/errors");
const main_1 = require("../../main");
const eventName = 'removeFinishedDownloads';
const cb = (_, __, ___) => {
main_1.clearCompletedDownloads();
errors_1.consoleInfo('Completed downloads cleared');
};
exports.default = { eventName, cb };