src/utils/UpdateNotification.js
function handleUpdateProcess(updates) {
        var handler = _updateProcessHandler || _defaultUpdateProcessHandler;
        var initSuccess = handler(updates);
        if (_updateProcessHandler && !initSuccess) {
            // Give a chance to default handler in case
            // the auot update mechanism has failed.
            _defaultUpdateProcessHandler(updates);
        }
    }
function handleUpdateProcess(updates) {
        var handler = _updateProcessHandler || _defaultUpdateProcessHandler;
        var initSuccess = handler(updates);
        if (_updateProcessHandler && !initSuccess) {
            // Give a chance to default handler in case
            // the auot update mechanism has failed.
            _defaultUpdateProcessHandler(updates);
        }
    }
function handleUpdateProcess ( updates ) { var handler = _updateProcessHandler || _defaultUpdateProcessHandler ; var initSuccess = handler ( updates ) ; if ( _updateProcessHandler && ! initSuccess ) { // Give a chance to default handler in case // the auot update mechanism has failed. _defaultUpdateProcessHandler ( updates ) ; } }
Handles the update process
@param {Array} updates - array object containing info of updates
Handles the update process