remove async

This commit is contained in:
casperlamboo 2017-11-06 12:10:13 +01:00
parent 4d46eb6f91
commit 9bab3b3314

View File

@ -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;