epic async 源码
史诗般的异步 轻型异步foreach东西,打字时间是凌晨1点。 import { forEach } from 'epic-async' ; // each task takes a different amount of time to complete const array = [ 1000 , 5000 , 100 , 2000 ] ; async function go ( ) { // however, it will not continue until the previous iteration completes // you can also use .then instead of await if you want but i don't see why you'd do that // or you could do neither
文件列表
epic-async-master.zip
(预估有个10文件)
epic-async-master
yarn.lock
77KB
.eslintrc.js
50B
src
index.ts
509B
tsconfig.json
585B
LICENSE
1KB
README.md
954B
dist
index.d.ts
250B
暂无评论