deno/ext
Bert Belder ff932b411d
fix(core): poll async ops eagerly (#12385)
Currently all async ops are polled lazily, which means that op
initialization code is postponed until control is yielded to the event
loop. This has some weird consequences, e.g.

```js
let listener = Deno.listen(...);
let conn_promise = listener.accept();
listener.close();
// `BadResource` is thrown. A reasonable error would be `Interrupted`.
let conn = await conn_promise;
```

JavaScript promises are expected to be eagerly evaluated. This patch
makes ops actually do that.
2021-10-17 19:50:42 +02:00
..
broadcast_channel chore: bump crate version for 1.15.0 (#12406) 2021-10-12 22:16:15 +05:30
console fix(console): fix display of primitive wrapper objects (#12425) 2021-10-14 12:52:08 +09:00
crypto chore: bump crate version for 1.15.0 (#12406) 2021-10-12 22:16:15 +05:30
fetch chore: bump crate version for 1.15.0 (#12406) 2021-10-12 22:16:15 +05:30
ffi fix(runtime/ops/worker_host): move permission arg parsing to Rust (#12297) 2021-10-13 13:04:44 -04:00
http docs(ext/http): fix typo in http/lib.rs (#12466) 2021-10-17 20:04:44 +09:00
net fix(core): poll async ops eagerly (#12385) 2021-10-17 19:50:42 +02:00
timers chore: bump crate version for 1.15.0 (#12406) 2021-10-12 22:16:15 +05:30
tls chore: bump crate version for 1.15.0 (#12406) 2021-10-12 22:16:15 +05:30
url fix(docs): correct pattern.match() to pattern.exec() (#12450) 2021-10-15 11:25:48 +02:00
web fix(core): poll async ops eagerly (#12385) 2021-10-17 19:50:42 +02:00
webgpu chore: bump crate version for 1.15.0 (#12406) 2021-10-12 22:16:15 +05:30
webidl chore: bump crate version for 1.15.0 (#12406) 2021-10-12 22:16:15 +05:30
websocket chore: bump crate version for 1.15.0 (#12406) 2021-10-12 22:16:15 +05:30
webstorage chore: bump crate version for 1.15.0 (#12406) 2021-10-12 22:16:15 +05:30