raaymax
raaymax
DDeno
Created by raaymax on 7/28/2024 in #help
Event loop resolving prematurely
I was finally able to narrow this issue to just:
Deno.test('stream iterator fail', async () => {
const stream = new ReadableStream<Uint8Array>();
const it = stream[Symbol.asyncIterator]();
await it.next();
await it.return?.();
console.log('Stream closed');
});
Deno.test('stream iterator fail', async () => {
const stream = new ReadableStream<Uint8Array>();
const it = stream[Symbol.asyncIterator]();
await it.next();
await it.return?.();
console.log('Stream closed');
});
4 replies