javascript - What is the difference between the async.compose function and underscore.compose function? -


both seem doing same thing, i.e. calculating f(g(h(x))), when called async.compose(f, g, h) or _.compose(f, g, h).

is there difference between 2 calls ?

as name implies, async.compose composes asynchronous functions.

it gets result via callback parameter, not return value.


Comments

Popular posts from this blog

java - activate/deactivate sonar maven plugin by profile? -

python - TypeError: can only concatenate tuple (not "float") to tuple -

java - What is the difference between String. and String.this. ? -