Support promises for pipe and pipeWith
b-sudhakar opened this issue · comments
Sudhakar B commented
Currently pipe and pipeWith does not wait for promises to complete, enhance pipe functions to support promises.
Kevin Wallace commented
Hi @b-sudhakar , you can use andThen
for this. eg pipeWith(andThen)
or pipe(f, g, andThen(h))
. There is an example in the andThen docs. Might be nice to add a pipeWith
example as well, maybe to andThen
and to the pipeWith
docs. Would you like to submit a PR?
Sudhakar B commented
Thanks @kedashoe , let me take look and will create a PR.
Toni Leigh Sharpe commented
@kedashoe thought I'd pick this up, there doesn't seem to be a PR, it's six months now