deno/ext
ctrl+d f9a024a748
feat(ext/net): add signal option to Deno.connect() (#27113)
Ref #26819

An optional **timeout** parameter has been added to the
**Deno.connect()** interface. This parameter allows specifying a timeout
(in milliseconds) within which the application must establish a
connection. If the timeout is exceeded without successfully connecting,
the operation is automatically aborted with an error. If the parameter
is not provided, the default behavior remains unchanged (no timeout).
Currently, the timeout functionality is implemented only for TCP
connections. Other connection types are not affected by this change.

---------

Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
2025-04-25 20:25:50 +05:30
..
broadcast_channel chore: forward v2.2.12 release commit to main (#29044) 2025-04-24 20:22:57 -04:00
cache chore: forward v2.2.12 release commit to main (#29044) 2025-04-24 20:22:57 -04:00
canvas chore: forward v2.2.12 release commit to main (#29044) 2025-04-24 20:22:57 -04:00
console chore: forward v2.2.12 release commit to main (#29044) 2025-04-24 20:22:57 -04:00
cron chore: forward v2.2.12 release commit to main (#29044) 2025-04-24 20:22:57 -04:00
crypto chore: forward v2.2.12 release commit to main (#29044) 2025-04-24 20:22:57 -04:00
fetch feat(ext/fetch): support localAddress option in custom HTTP client (#28781) 2025-04-25 18:03:24 +05:30
ffi chore: forward v2.2.12 release commit to main (#29044) 2025-04-24 20:22:57 -04:00
fs chore: forward v2.2.12 release commit to main (#29044) 2025-04-24 20:22:57 -04:00
http feat(ext/http): Show that is also listening on localhost (#28171) 2025-04-25 08:36:20 +00:00
io chore: forward v2.2.12 release commit to main (#29044) 2025-04-24 20:22:57 -04:00
kv feat(ext/fetch): support localAddress option in custom HTTP client (#28781) 2025-04-25 18:03:24 +05:30
napi chore: forward v2.2.12 release commit to main (#29044) 2025-04-24 20:22:57 -04:00
net feat(ext/net): add signal option to Deno.connect() (#27113) 2025-04-25 20:25:50 +05:30
node fix(ext/node): fix handling of abort signal in readFile (#29028) 2025-04-25 14:48:12 +09:00
os chore: forward v2.2.12 release commit to main (#29044) 2025-04-24 20:22:57 -04:00
process chore: forward v2.2.12 release commit to main (#29044) 2025-04-24 20:22:57 -04:00
rt_helper feat(compile): support for ffi and node native addons (#28934) 2025-04-17 16:01:12 -04:00
telemetry chore: forward v2.2.12 release commit to main (#29044) 2025-04-24 20:22:57 -04:00
tls chore: forward v2.2.12 release commit to main (#29044) 2025-04-24 20:22:57 -04:00
url chore: forward v2.2.12 release commit to main (#29044) 2025-04-24 20:22:57 -04:00
web chore: forward v2.2.12 release commit to main (#29044) 2025-04-24 20:22:57 -04:00
webgpu chore: forward v2.2.12 release commit to main (#29044) 2025-04-24 20:22:57 -04:00
webidl chore: forward v2.2.12 release commit to main (#29044) 2025-04-24 20:22:57 -04:00
websocket chore: forward v2.2.12 release commit to main (#29044) 2025-04-24 20:22:57 -04:00
webstorage chore: forward v2.2.12 release commit to main (#29044) 2025-04-24 20:22:57 -04:00