@promises/-all
v0.5.0
Published
All is a group of packages of Promises library
Downloads
24
Maintainers
Readme
@promises/-all
All is a group of packages of Promises library
Use
Module
$ npm install --save @promises/-all
import {
compose,
create,
delay,
doWhileParallel,
doWhileSeries,
error,
everyParallel,
everySeries,
exec,
filterParallel,
filterSeries,
finally,
forEachParallel,
forEachRightSeries,
forEachSeries,
forever,
fromCallback,
fromEvent,
isPromise,
keys,
mapParallel,
mapSeries,
next,
parallel,
promisify,
reduceRightSeries,
reduceSeries,
rejectParallel,
rejectSeries,
reset,
retry,
series,
sleep,
someParallel,
someSeries,
spread,
timeout,
timer,
timesParallel,
timesSeries,
toCallback,
wait,
whileParallel,
whileSeries,
wrap
} from '@promises/-all';
Browser
<script src="https://unpkg.com/@promises/-all/bundle.umd.min.js"></script>
let {
compose,
create,
delay,
doWhileParallel,
doWhileSeries,
error,
everyParallel,
everySeries,
exec,
filterParallel,
filterSeries,
finally,
forEachParallel,
forEachRightSeries,
forEachSeries,
forever,
fromCallback,
fromEvent,
isPromise,
keys,
mapParallel,
mapSeries,
next,
parallel,
promisify,
reduceRightSeries,
reduceSeries,
rejectParallel,
rejectSeries,
reset,
retry,
series,
sleep,
someParallel,
someSeries,
spread,
timeout,
timer,
timesParallel,
timesSeries,
toCallback,
wait,
whileParallel,
whileSeries,
wrap
} = P;
Functional programming
Module
$ npm install --save @promises/-all
import {
__,
error,
everyParallel,
everySeries,
filterParallel,
filterSeries,
finally,
forEachParallel,
forEachRightSeries,
forEachSeries,
mapParallel,
mapSeries,
next,
reduceRightSeries,
reduceSeries,
rejectParallel,
rejectSeries,
reset,
sleep,
someParallel,
someSeries,
timesParallel,
timesSeries,
toCallback,
wait
} from '@promises/-all/fp';
Browser
<script src="https://unpkg.com/@promises/-all/fp/bundle.umd.min.js"></script>
let {
__,
error,
everyParallel,
everySeries,
filterParallel,
filterSeries,
finally,
forEachParallel,
forEachRightSeries,
forEachSeries,
mapParallel,
mapSeries,
next,
reduceRightSeries,
reduceSeries,
rejectParallel,
rejectSeries,
reset,
sleep,
someParallel,
someSeries,
timesParallel,
timesSeries,
toCallback,
wait
} = PF;
Wrapper
Module
$ npm install --save @promises/-all
import Promises from '@promises/core';
import '@promises/-all/add';
Or
import Promises from '@promises/-all/add';
Browser
<script src="https://unpkg.com/@promises/core/bundle.umd.min.js"></script>
<script src="https://unpkg.com/@promises/-all/add/bundle.umd.min.js"></script>
let {
Promises
} = P;
Compatibility
These modules are written in typescript and available in ES5 and ES6 standard, the requirements are a global Promise (native or polyfill).
License
Copyright © 2017 Yisrael Eliav, Licensed under the MIT license.