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

7 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");