fh-wfm-result
Version:
A result module for WFM, for working with the results of pushing a workorder through a workflow
13 lines (11 loc) • 417 B
JavaScript
var mediatorSubscribers = require('./mediator-subscribers');
var ResultClient = require('./result-client');
/**
* Initialisation of the workorder core module.
* @param {Mediator} mediator
*/
module.exports = function(mediator) {
//Initialising the subscribers to topics that the module is interested in.
var resultClient = ResultClient(mediator);
return mediatorSubscribers.init(mediator, resultClient);
};