nodejs parallel callback design pattern

后端 未结 6 1867
日久生厌
日久生厌 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 11:06

    A very simple barrier just for this: https://github.com/berb/node-barrierpoints

提交回复
热议问题