Files

17 lines
603 B
JavaScript

exports.newFoundationsGlobalsTaskConstants = function () {
/*
This values are set only once with the information received from whoever
is starting the task.
*/
let thisObject = {
TASK_NODE: undefined,
NETWORK_NODE: undefined,
PROJECT_DEFINITION_NODE: undefined,
PROJECTS_SCHEMA: undefined,
APP_SCHEMA_MAP: new Map(),
EVENT_SERVER_CLIENT_MODULE_OBJECT: undefined, // This is an instance of the Event Server Client pointing to the localhost server
TASK_HEARTBEAT_INTERVAL_HANDLER: undefined
}
return thisObject
}