deno
edc28396 - fix(ext/node): support AbortSignal in node:net Socket constructor

Commit
216 days ago
fix(ext/node): support AbortSignal in node:net Socket constructor Implements the `signal` option for `net.Socket` and `net.connect()`. When an AbortController's signal is passed, the socket is destroyed with an AbortError when the signal fires. If the signal is already aborted at construction time, the socket is destroyed on the next tick.
Author
Parents
Loading