node-if-async icon indicating copy to clipboard operation
node-if-async copied to clipboard

[suggestion] API changes that will allow skipping of functor declaration

Open sigod opened this issue 6 years ago • 0 comments

Yes, it can be done right now, but it would be unreadable.

Something like this would look much better:

ifAsync(checkSomething)
    .then(doThis)
    .else(doThat)
    .run(finishIt)

sigod avatar Jul 27 '17 15:07 sigod