async runAllCustomerLogicFunction(functionName, ...args) {
        return (await Promise.all(this.sortedCustomerLogic.map(async customerLogic => {
            return await this.runCustomerLogicFunction(customerLogic, functionName, ...args);
        }))).filter(x => x !== this.nullobj);
    }
/**
     * Runs a function on all customer logic instances if the function does exist.
     * Instances with higher priority get executed first.
     * @param {string} functionName
     * @param {Array<any>} args
     * @return {Promise<Array<any>>}
     * @memberof CustomerLogicHandler
     */
Runs a function on all customer logic instances if the function does exist.
Instances with higher priority get executed first.
@param {string} functionName
@param {Array} args
@return {Promise>}
@memberof CustomerLogicHandler
Runs a function on all customer logic instances if the function does exist . Instances with higher priority get executed first . @param { string } functionName @param { Array } args @return { Promise > } @memberof CustomerLogicHandler
async runAllCustomerLogicFunction(functionName, ...args) {
        return (await Promise.all(this.sortedCustomerLogic.map(async customerLogic => {
            return await this.runCustomerLogicFunction(customerLogic, functionName, ...args);
        }))).filter(x => x !== this.nullobj);
    }
async runAllCustomerLogicFunction ( functionName , ... args ) { return ( await Promise . all ( this . sortedCustomerLogic . map ( async customerLogic => { return await this . runCustomerLogicFunction ( customerLogic , functionName , ... args ) ; } ) ) ) . filter ( x => x !== this . nullobj ) ; }
Runs a function on all customer logic instances if the function does exist.
Runs a function on all customer logic instances if the function does exist .