Travis build: 903 [cron]
This commit is contained in:
@ -208,7 +208,11 @@
|
||||
"body": [
|
||||
"const chainAsync = fns => {",
|
||||
" let curr = 0;",
|
||||
" const next = () => fns[curr++](next);",
|
||||
" const last = fns[fns.length - 1];",
|
||||
" const next = () => {",
|
||||
" const fn = fns[curr++];",
|
||||
" fn === last ? fn() : fn(next);",
|
||||
" };",
|
||||
" next();",
|
||||
"};"
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user