WOOP WOOP, file save works!!!
This commit is contained in:
parent
5367ed2f44
commit
c02fb2d924
2 changed files with 3 additions and 5 deletions
|
@ -89,7 +89,7 @@ const states = {
|
|||
async function* parse(stream: ReadableStream<Uint8Array>): AsyncGenerator<any, void, unknown> {
|
||||
let state = states.none();
|
||||
|
||||
for await (const token of take(tokenize(read(toGenerator(stream))), 100)) {
|
||||
for await (const token of tokenize(read(toGenerator(stream)))) {
|
||||
try {
|
||||
state = state(token);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue