These are chat archives for ramda/ramda
const func1 = test1 => Future(...) const func2 = test2 => Future(...) R.someMethod(Future.of, [func1, func2], [1, 2]).fork(...) // func1 should receive 1, func2 should receive 2 // results should be [result of func1, result of func2]
sequence(Future.of, [func1(1), func2(2)])
sequence(pure, zipWith(applyTo, args, fns))something like that i guess..
liftN(2, unapply(xs => Promise.resolve(xs)))(compose(add(10), head), compose(add(20), last))([1, 2]).then(x => console.log(x))
sequencewill, right? If any one of the promises is rejected, then it should get rejected all together