From 9bab3b331409861915ea34f69547e2879119d04e Mon Sep 17 00:00:00 2001 From: casperlamboo Date: Mon, 6 Nov 2017 12:10:13 +0100 Subject: [PATCH] remove async --- src/utils/async.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/async.js b/src/utils/async.js index 88baa9f..3375b1f 100644 --- a/src/utils/async.js +++ b/src/utils/async.js @@ -14,7 +14,7 @@ export function recursivePromiseApply(object, promises = [], first = true) { return first && Promise.all(promises).then(() => object); } -export async function asyncIterator(array, callback) { +export function asyncIterator(array, callback) { return new Promise((resolve, reject) => { const results = []; let i = 0;