lib/pm.js
function (options, callback) {
    if (!callback) {
      callback = options;
      options = {};
    }
    this.sagaStore.getUndispatchedCommands(options, callback);
  }
function (options, callback) {
    if (!callback) {
      callback = options;
      options = {};
    }
    this.sagaStore.getUndispatchedCommands(options, callback);
  }
function ( options , callback ) { if ( ! callback ) { callback = options ; options = { } ; } this . sagaStore . getUndispatchedCommands ( options , callback ) ; }
Use this function to get all undispatched commands.
@param {Function} callback The function, that will be called when this action is completed.
`function(err, cmdsSagaMap){}` cmdsSagaMap is of type Array.
Use this function to get all undispatched commands .