Skip to main content

Timeline for nodejs chaining with async

Current License: CC BY-SA 3.0

4 events
when toggle format what by license comment
Jan 20, 2017 at 10:17 comment added ji-ruh My problem in async is that i cant run the first function with arguments.
Jan 7, 2014 at 15:07 review Suggested edits
Jan 7, 2014 at 15:15
Jan 7, 2014 at 14:21 comment added Daithí I've gotten that far. The issue is using promises (i think) so that the end user only has to do: module.setup().do_this().do_that(), or if they like module.setup().do_that().do_this() instead of async.series([ obj.setup.bind(obj), obj.do_something.bind(obj), obj.do_another_thing.bind(obj), obj.end.bind(obj) ]); Think that maybe the only solution is to have my front facing methods build up an array, then have user run .run() as a last call in the chain, which would then run the promises/futures.
Jan 7, 2014 at 14:10 history answered Brandon CC BY-SA 3.0