mirror of
https://github.com/denoland/deno.git
synced 2025-01-26 17:02:20 -05:00
ce1d668929
A workaround for the issue #25480 `Deno.Listener` can't be closed synchronously after `accept()` is called. This PR delays the `accept` call 2 ticks (The listener callback is called 1 tick later. So the 1 tick delay is not enough), and makes `net.Server` capable of being closed synchronously. This unblocks `npm:detect-port` and `npm:portfinder` closes #18301 closes #25175 |
||
---|---|---|
.. | ||
_libuv_winerror.ts | ||
_listen.ts | ||
_node.ts | ||
_timingSafeEqual.ts | ||
_utils.ts | ||
ares.ts | ||
async_wrap.ts | ||
buffer.ts | ||
cares_wrap.ts | ||
connection_wrap.ts | ||
constants.ts | ||
crypto.ts | ||
handle_wrap.ts | ||
mod.ts | ||
node_file.ts | ||
node_options.ts | ||
pipe_wrap.ts | ||
README.md | ||
stream_wrap.ts | ||
string_decoder.ts | ||
symbols.ts | ||
tcp_wrap.ts | ||
types.ts | ||
udp_wrap.ts | ||
util.ts | ||
uv.ts |
Internal Bindings
The modules in this directory implement (simulate) C++ bindings implemented in
the ./src/
directory of the Node.js
repository.
These bindings are created in the Node.js source code by using
NODE_MODULE_CONTEXT_AWARE_INTERNAL
.
Please refer to https://github.com/nodejs/node/blob/master/src/README.md for further information.