We’ve just released ramda-adjunct v2.16.0. This release brings important tool for asynchronous programming — function for converting Promise yielding Generators into promisories (Promise producing function).
Takes a generator function and returns an async function. The async function returned is a curried function whose arity matches that of the generator function.
Note: This function is handy for environments that does support generators but doesn’t support async/await.
Like always, I end my article with the following axiom: Define your code-base as pure functions and lift them only if needed. And compose, compose, compose…