mirror of
https://github.com/Doodle3D/Doodle3D-Core.git
synced 2025-01-03 08:33:48 +01:00
remove async
This commit is contained in:
parent
4d46eb6f91
commit
9bab3b3314
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user