sodal-project / cartographer

Cartographer version 1 is a complete rewrite adding the concept of modules.
1 stars 0 forks source link

Activate a Module #20

Open tbenbow opened 1 month ago

tbenbow commented 1 month ago

Modules need to be added to the active module list.

/**
 * triggerCoreFunction
 * This function will trigger a function in core from a module and return the data and callback function
 * 
 * @param {string} functionName - the name of the function to trigger
 * @param {object} data - the data object to pass to the function
 * @param {functionName} callback - the data object to pass to the function
 * @returns {{ data: object, callback: function }} - An object containing the data and the callback function.
 */