Ramda Promise Helpers
Just a few functions for working with promises in Ramda.
[Promise] -> Promise
Creates one promise out of an array of promises
a -> Promise
Turns any value into a promise that just resolves to that value
[(a -> Promise)] -> (a -> Promise)
Creates one promise returning functions out of multiple promise returning functions. The returned function will output an array of all the resulting resolved values.
(a -> (Promise b)) -> a -> a
Runs the given Promise returning function with the supplied object, then returns the object once the promise has resolved.
npm i ramdap