nodejs parallel callback design pattern

后端 未结 6 1830
日久生厌
日久生厌 2020-12-25 10:34

I\'m trying to find a good pattern to execute a bunch of parallel tasks.

Let me define some task to exemplify. Tasks a, b, c, d, e, f, g execute as

6条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-12-25 10:47

    yeah, look at flow control module, like step, chain, or flow ~ and i think there is something like that in underscore.js too

提交回复
热议问题