'use strict';

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = allSettled;

var _promiseToResultObject;

function _load_promiseToResultObject() {
  return _promiseToResultObject = _interopRequireDefault(require('./promise-to-result-object'));
}

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

// $FlowFixMe
function allSettled(promises) {
  return Promise.all(promises.map((0, (_promiseToResultObject || _load_promiseToResultObject()).default)()));
}