node.js async libs

后端 未结 4 961
太阳男子
太阳男子 2020-12-07 17:33

There are a ton of libraries that help with fixing the layers of callback syndrome.

In fact, there\'s too many, which one do i use?

4条回答
  •  难免孤独
    2020-12-07 17:52

    The problem I have with other sync libraries is they often required me to define all my tasks at the start, and did not offer a clean intuitive API I found. I simply just wanted to push tasks to a group, whenever and whereever, and then execute that group in either parallel or serial fashion.

    I love the flow functionality inside TaskGroup, and used it for a lot of big projects including DocPad and BugHerd. Examples are in the README.

提交回复
热议问题