feat: add args parsing; refactor scripts
This commit is contained in:
parent
b3cef4dd03
commit
bcd9771cd5
3 changed files with 59 additions and 41 deletions
|
|
@ -59,9 +59,7 @@ export async function renderStream(
|
|||
resetCounts();
|
||||
}
|
||||
|
||||
while (!memOk) {
|
||||
await new Promise((resolve) => setTimeout(resolve, 10));
|
||||
}
|
||||
while (!memOk) await Bun.sleep(10);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue