lib/runner/extensions/control.command.js
function (callback) {
            callback = backpack.ensure(callback, this);

            if (!this.paused) { return callback && callback(new Error('run: not paused')); }

            // set flag that it is no longer paused and fire the stored callback for the command when it was paused
            this.paused = false;
            setTimeout(function () {
                this.__resume();
                delete this.__resume;
                this.triggers.resume(null, this.state.cursor.current());
            }.bind(this), 0);

            callback && callback();
        }
function (callback) {
            callback = backpack.ensure(callback, this);

            if (!this.paused) { return callback && callback(new Error('run: not paused')); }

            // set flag that it is no longer paused and fire the stored callback for the command when it was paused
            this.paused = false;
            setTimeout(function () {
                this.__resume();
                delete this.__resume;
                this.triggers.resume(null, this.state.cursor.current());
            }.bind(this), 0);

            callback && callback();
        }
function ( callback ) { callback = backpack . ensure ( callback , this ) ; if ( ! this . paused ) { return callback && callback ( new Error ( 'run: not paused' ) ) ; } // set flag that it is no longer paused and fire the stored callback for the command when it was paused this . paused = false ; setTimeout ( function ( ) { this . __resume ( ) ; delete this . __resume ; this . triggers . resume ( null , this . state . cursor . current ( ) ) ; } . bind ( this ) , 0 ) ; callback && callback ( ) ; }
Resume a paused a run

@param {Function} callback
Resume a paused a run