services/assistant/v1-workspace-manager.js
function executeListExamples(node, conv, params, msg) {
    var p = new Promise(function resolver(resolve, reject){
      conv.listExamples(params, function (err, response) {
        if (err) {
          reject(err);
        } else {
          msg['examples'] = response.examples ?
                                        response.examples: response;
          resolve();
        }
      });
    });
    return p;
  }
function executeListExamples(node, conv, params, msg) {
    var p = new Promise(function resolver(resolve, reject){
      conv.listExamples(params, function (err, response) {
        if (err) {
          reject(err);
        } else {
          msg['examples'] = response.examples ?
                                        response.examples: response;
          resolve();
        }
      });
    });
    return p;
  }
function executeListExamples ( node , conv , params , msg ) { var p = new Promise ( function resolver ( resolve , reject ) { conv . listExamples ( params , function ( err , response ) { if ( err ) { reject ( err ) ; } else { msg [ 'examples' ] = response . examples ? response . examples : response ; resolve ( ) ; } } ) ; } ) ; return p ; }
For now we are not doing anything with the pagination response
For now we are not doing anything with the pagination response