摘要: 从公众号里看到一道异步题目,花了点时间看了下,挺有意思的。 const delay = (ms) => new Promise((resolve) => setTimeout(resolve, ms)); const subFlow = createFlow([() => delay(1000).t 阅读全文
posted @ 2020-08-24 17:57 萝卜爱吃青菜 阅读(298) 评论(0) 推荐(0) 编辑