1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-23 15:16:54 -05:00
denoland-deno/cli/tests/inspector3.js
Bert Belder e574437922
Fix inspector hanging when task budget is exceeded (#5083)
The issue is solved by proxying websocket messages over a pair of
`futures::mpsc::unbounded` channels. As these are are implemented in
the 'futures' crate, they can't participate in Tokio's cooperative
task yielding.
2020-05-05 16:12:45 +02:00

6 lines
138 B
JavaScript

for (let i = 0; i < 128; i++) {
console.log(i);
debugger;
}
await new Promise((res, _) => setTimeout(res, 100));
console.log("done");