var pReflect = function pReflect(promise) {
    return Promise.resolve(promise).then(function (value) {
        return {
            isFulfilled: true,
            isRejected: false,
            value: value
        };
    }, function (reason) {
        return {
            isFulfilled: false,
            isRejected: true,
            reason: reason
        };
    });
};
function pSettle(iterable) {
    var iterablePatch = iterable;
    return Promise.all(iterablePatch.map(pReflect));
}
export default pSettle;
//# sourceMappingURL=p-settle.js.map