diff --git a/src/utils/async.js b/src/utils/async.js index 60e521d..416b273 100644 --- a/src/utils/async.js +++ b/src/utils/async.js @@ -52,7 +52,7 @@ export function createThrottle() { if (!startLoop) return; - return (function loop() { + (function loop() { return next().then(() => { if (typeof next === 'function') return loop(); });