Skip to content
This repository has been archived by the owner on Oct 9, 2020. It is now read-only.

Post: Using the 'async' library with Node.js #13

Open
amithn opened this issue Aug 2, 2013 · 5 comments
Open

Post: Using the 'async' library with Node.js #13

amithn opened this issue Aug 2, 2013 · 5 comments

Comments

@amithn
Copy link

amithn commented Aug 2, 2013

My talk on the 31st of June at the Melbourne Node.js meetup covered the async library. Slides from the talk can be found here: http://slid.es/voicestreams/async and my code examples are here: https://github.com/amithn/async-examples

My presentation and code examples explain how to avoid deep nesting of function calls generally referred to as "callback hell" when working with Node.js. Node newbies often run into "callback hell" when they try to build something non-trivial. I have experienced these problems myself and started looking for ways around it. I found that async provides a neat API to overcome the problem.

@rvagg
Copy link
Member

rvagg commented Aug 2, 2013

Thanks @amithn, would you mind tweaking this a little to be more post-like?

See #9 and #10 for examples from the Sydney meetup.

You don't have to go to too much effort, just enough to make it worth putting up on nodejs.org.au. Once you're done we'll make it go live and publicise it on twitter with nodejsau.

@sidorares
Copy link
Member

@amithn (or me) - could you make copy of this post - http://www.meetup.com/MelbNodeJS/messages/boards/thread/36746042 ? (need to convert to markdown and add links to presenters github accounts)

@amithn
Copy link
Author

amithn commented Aug 3, 2013

The slides and code examples linked from this post explain how to avoid deep nesting of function calls generally referred to as "callback hell" when working with node.js. Node newbies often run into "callback hell" when they try to build something non-trivial. I have experienced these problems myself and started looking for ways around it. I found this library called async @ https://github.com/caolan/async which provides a neat API to overcome the problem.

Below are the link to the slides on how to use the async library as well as introduction with code examples on how to use the different functions provided by async presented at node.js Melbourne meetup on 31st July, 2013.

The slides are here http://slid.es/voicestreams/async and the code examples https://github.com/amithn/async-examples

@rvagg Is this good enough?

@rvagg
Copy link
Member

rvagg commented Aug 3, 2013

@amithn I've updated your original text with (mostly) your new text and it's gone live at http://nodejs.org.au/ feel free to edit it if you want to modify the wording.

Thanks!

@amithn
Copy link
Author

amithn commented Aug 3, 2013

Reads better after your edit. Thank you @rvagg.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants