Files
Superalgos/TaskServer/Globals.js
T
2020-11-27 21:01:33 +01:00

16 lines
452 B
JavaScript

exports.newGlobals = function () {
let thisObject = {
initialize: initialize
}
return thisObject;
function initialize() {
global.LOGGER_MAP = new Map() // We will put all the loggers in a map, so that we can eventually finalize them.
global.SESSION_MAP = new Map() // We will put all the sessions in a map, so that we can eventually finalize them.
global.STOP_TASK_GRACEFULLY = false;
}
}