deno icon indicating copy to clipboard operation
deno copied to clipboard

Reading from Deno.stdin prevent Exception being thrown

Open terrywh opened this issue 1 year ago • 0 comments

Version: Deno 1.38.4 Reading from stdin prevents Exception being thrown;

setTimeout(() => {
    throw new Error("this will not fire!")
}, 100);
const buffer = new Uint8Array(1024);
await Deno.stdin.read(buffer);

terrywh avatar Dec 01 '23 13:12 terrywh