Skip to content
This repository has been archived by the owner on Jan 11, 2023. It is now read-only.

parallelize exports #329

Merged
merged 1 commit into from
Jul 31, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions src/api/export.ts
Original file line number Diff line number Diff line change
Expand Up @@ -118,9 +118,7 @@ async function execute(emitter: EventEmitter, {
}
});

for (const url of urls) {
await handle(url);
}
await Promise.all(urls.map(handle));
}
}
}
Expand Down