1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-21 15:04:11 -05:00
denoland-deno/ext
Divy Srivastava b482a50299
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-08 18:46:11 +05:30
..
broadcast_channel chore: forward v2.0.5 release commit to main (#26755) 2024-11-06 02:27:14 +01:00
cache fix(ext/cache): don't panic when creating cache (#26780) 2024-11-08 12:27:29 +05:30
canvas chore: forward v2.0.5 release commit to main (#26755) 2024-11-06 02:27:14 +01:00
console chore: forward v2.0.5 release commit to main (#26755) 2024-11-06 02:27:14 +01:00
cron chore: forward v2.0.5 release commit to main (#26755) 2024-11-06 02:27:14 +01:00
crypto chore: forward v2.0.5 release commit to main (#26755) 2024-11-06 02:27:14 +01:00
fetch feat(ext/http): abort event when request is cancelled (#26781) 2024-11-08 18:46:11 +05:30
ffi chore: forward v2.0.5 release commit to main (#26755) 2024-11-06 02:27:14 +01:00
fs chore: forward v2.0.5 release commit to main (#26755) 2024-11-06 02:27:14 +01:00
http feat(ext/http): abort event when request is cancelled (#26781) 2024-11-08 18:46:11 +05:30
io chore: forward v2.0.5 release commit to main (#26755) 2024-11-06 02:27:14 +01:00
kv chore: forward v2.0.5 release commit to main (#26755) 2024-11-06 02:27:14 +01:00
napi chore: forward v2.0.5 release commit to main (#26755) 2024-11-06 02:27:14 +01:00
net refactor(ext/net): Use hickory dns instead of unmaintained trust-dns (#26741) 2024-11-06 15:49:32 -08:00
node refactor: use concrete error type for remaining ops (#26746) 2024-11-06 16:57:57 -08:00
tls chore: forward v2.0.5 release commit to main (#26755) 2024-11-06 02:27:14 +01:00
url chore: forward v2.0.5 release commit to main (#26755) 2024-11-06 02:27:14 +01:00
web chore: forward v2.0.5 release commit to main (#26755) 2024-11-06 02:27:14 +01:00
webgpu chore: forward v2.0.5 release commit to main (#26755) 2024-11-06 02:27:14 +01:00
webidl chore: forward v2.0.5 release commit to main (#26755) 2024-11-06 02:27:14 +01:00
websocket chore: forward v2.0.5 release commit to main (#26755) 2024-11-06 02:27:14 +01:00
webstorage chore: forward v2.0.5 release commit to main (#26755) 2024-11-06 02:27:14 +01:00