There are plenty of solutions that let you program node in sync-style with 
robust exception handling:

CPS transformations:

   - https://github.com/Sage/streamlinejs
   - http://maxtaco.github.io/coffee-script/

Coroutines/fibers:

   - https://github.com/laverdet/node-fibers

ES6 Generators (node 0.11 only)

   - https://github.com/jmar777/suspend
   - https://github.com/bjouhier/galaxy
   - https://github.com/spion/genny
   - https://github.com/visionmedia/co
   

On Tuesday, February 11, 2014 7:42:18 PM UTC+1, Reza Razavipour wrote:
>
> I have a node.js, express really, app that needs to make SOAP calls, 
> asynchronously of course.
>
> In this case, I make a soap call and I get a count. Once i have the count, 
> I have to loop and make a series of SOAP calls for each, this part you can 
> think of this as async.series calls.
>
> I have used async waterfall, series, parallel and Q promises; somewhat 
> comfortable with them. 
>
> How do you suggest I set this up to avoid callback hell and have control 
> over exceptions and the rest. I can not see how this should be laid out.
>

-- 
-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to nodejs@googlegroups.com
To unsubscribe from this group, send email to
nodejs+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to nodejs+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to