1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-28 16:20:57 -05:00
denoland-deno/ext
Divy Srivastava f16980bec6 feat(ext/http): abort event when request is cancelled (#26781)
```js
Deno.serve(async (req) => {
  const { promise, resolve } = Promise.withResolvers<void>();

  req.signal.addEventListener("abort", () => {
    resolve();
  });

  await promise;

  return new Response("Ok");
});
```
2024-11-10 09:24:22 +05:30
..
broadcast_channel 2.0.5 (#26753) 2024-11-06 01:19:05 +01:00
cache fix(ext/cache): don't panic when creating cache (#26780) 2024-11-10 09:24:22 +05:30
canvas 2.0.5 (#26753) 2024-11-06 01:19:05 +01:00
console 2.0.5 (#26753) 2024-11-06 01:19:05 +01:00
cron 2.0.5 (#26753) 2024-11-06 01:19:05 +01:00
crypto 2.0.5 (#26753) 2024-11-06 01:19:05 +01:00
fetch feat(ext/http): abort event when request is cancelled (#26781) 2024-11-10 09:24:22 +05:30
ffi 2.0.5 (#26753) 2024-11-06 01:19:05 +01:00
fs 2.0.5 (#26753) 2024-11-06 01:19:05 +01:00
http feat(ext/http): abort event when request is cancelled (#26781) 2024-11-10 09:24:22 +05:30
io 2.0.5 (#26753) 2024-11-06 01:19:05 +01:00
kv 2.0.5 (#26753) 2024-11-06 01:19:05 +01:00
napi 2.0.5 (#26753) 2024-11-06 01:19:05 +01:00
net refactor(ext/net): Use hickory dns instead of unmaintained trust-dns (#26741) 2024-11-10 09:24:22 +05:30
node refactor: use concrete error type for remaining ops (#26746) 2024-11-10 09:24:22 +05:30
tls 2.0.5 (#26753) 2024-11-06 01:19:05 +01:00
url 2.0.5 (#26753) 2024-11-06 01:19:05 +01:00
web 2.0.5 (#26753) 2024-11-06 01:19:05 +01:00
webgpu 2.0.5 (#26753) 2024-11-06 01:19:05 +01:00
webidl 2.0.5 (#26753) 2024-11-06 01:19:05 +01:00
websocket 2.0.5 (#26753) 2024-11-06 01:19:05 +01:00
webstorage 2.0.5 (#26753) 2024-11-06 01:19:05 +01:00