src/scripts/core/Mediator.js
/**
         * @func new
         * @desc register a new request key/handler pair. Check if an existing handler is present for the key and throw and error if there is
         * @param  {string} requestKey     the key/call string for the handler. e.g. modulename:get:value
         * @param  {function} requestHandler the handler method to be called
         * @return {any}                the response from the handler method
         */
@func new
@desc register a new request key/handler pair. Check if an existing handler is present for the key and throw and error if there is
@param  {string} requestKey     the key/call string for the handler.
@func new @desc register a new request key / handler pair . Check if an existing handler is present for the key and throw and error if there is @param { string } requestKey the key / call string for the handler .
new (requestKey, requestHandler) {
            if (requests.handlers[requestKey]) {
                throw new Error(`Only one requestHandler per requestKey: ${requestKey}`);
            }
            requests.handlers[requestKey] = requestHandler;
        }
new ( requestKey , requestHandler ) { if ( requests . handlers [ requestKey ] ) { throw new Error ( ` ${ requestKey } ` ) ; } requests . handlers [ requestKey ] = requestHandler ; }
@func new
 @desc register a new request key/handler pair.
@func new @desc register a new request key / handler pair .