packages/ove-lib-appbase/src/index.js
function (sectionId, state) {
        if (!module.exports.operations.validateState || module.exports.operations.validateState(state)) {
            appState.set('state[' + sectionId + ']', state);
        } else {
            log.error('Unable to update invalid state:', state, 'in section:', sectionId);
        }
    }
function (sectionId, state) {
        if (!module.exports.operations.validateState || module.exports.operations.validateState(state)) {
            appState.set('state[' + sectionId + ']', state);
        } else {
            log.error('Unable to update invalid state:', state, 'in section:', sectionId);
        }
    }
function ( sectionId , state ) { if ( ! module . exports . operations . validateState || module . exports . operations . validateState ( state ) ) { appState . set ( 'state[' + sectionId + ']' , state ) ; } else { log . error ( 'Unable to update invalid state:' , state , 'in section:' , sectionId ) ; } }
Utility method to update state of section
Utility method to update state of section