packages/ove-lib-appbase/src/index.js
function (name, state) {
        if (!module.exports.operations.validateState || module.exports.operations.validateState(state)) {
            module.exports.config.states[name] = state;
        } else {
            log.error('Unable to update invalid state:', state, 'with name:', name);
        }
    }
function (name, state) {
        if (!module.exports.operations.validateState || module.exports.operations.validateState(state)) {
            module.exports.config.states[name] = state;
        } else {
            log.error('Unable to update invalid state:', state, 'with name:', name);
        }
    }
function ( name , state ) { if ( ! module . exports . operations . validateState || module . exports . operations . validateState ( state ) ) { module . exports . config . states [ name ] = state ; } else { log . error ( 'Unable to update invalid state:' , state , 'with name:' , name ) ; } }
Utility method to update named state
Utility method to update named state