Refactoring (2)

This commit is contained in:
2024-12-29 09:07:13 +00:00
parent 998f811dbc
commit b219682f39

View File

@@ -242,7 +242,6 @@ function initializeStream() {
}
});
}
initializeStream();
/** pop from the job queue and run it */
async function runJob() {
@@ -277,6 +276,7 @@ async function pushJob() {
async function main() {
try {
initializeStream();
try {
await Promise.all([runJob(), pushJob()]);
} catch (e) {