Created
November 18, 2014 10:45
-
-
Save genediazjr/34b809b6a46cf2626b26 to your computer and use it in GitHub Desktop.
npm async tl;dr https://github.com/caolan/async
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Collections] | |
each - error or no return; | |
map - return transformed values in array; | |
filter - return those that has passed; | |
reject - removes the values that have passed; | |
reduce - returns one value based on array values; | |
detect - returns first passed; | |
sortBy - returns sorted by a numeric value; | |
some - return true if one satisfies iterator; | |
every - return true if all satisfies iterator; | |
concat - returns combine results of iterator; | |
[Control Flow] | |
series - | |
parallel - | |
whilst - while true | |
until - until true | |
forever - indefinite | |
waterfall - one by one | |
compose - create f(g(h())) | |
seq - run f(g(h())) | |
applyEach - same arguments | |
queue - | |
cargo - special queue | |
auto - | |
retry - | |
iterator - | |
apply - | |
nextTick - | |
times - |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment