README
Promise One Success
Give it an array of promises, returns the first success unless all fail, then it rejects.
npm install --save promise-one-success
See test/index.js
for example usage
Give it an array of promises, returns the first success unless all fail, then it rejects.
<script type="module">
import promiseOneSuccess from 'https://cdn.skypack.dev/promise-one-success';
</script>
Give it an array of promises, returns the first success unless all fail, then it rejects.
npm install --save promise-one-success
See test/index.js
for example usage