text: 'use strict';
  
  Object.defineProperty(exports, "__esModule", {
    value: true
  });
  
  var _highland = require('highland');
  
  var _highland2 = _interopRequireDefault(_highland);
  
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
  
  const defaultExecuteHandler = (messageStream, callback) => (0, _highland2.default)(messageStream).map(({ result: { data } }) => data['@value'] || data).sequence().collect().toCallback(callback);
  
  exports.default = defaultExecuteHandler;