Athaoo

Results 2 comments of Athaoo

不简洁但是把步骤拆分成了collect和run两个阶段,不进行flat ``` js class Flow { constructor(task) { this.task = task } async run(cb) { await this.task() cb instanceof Function && cb() } } const runFlow = async (flow) =>...