diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2022-12-28 10:29:48 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-28 10:29:48 +0100 |
commit | bece1ce05704d9a81efd2e04a22ee721795903e7 (patch) | |
tree | 1da9f477eef90e3837a2366bec0bdd9f8a79b3c0 /runtime/js/30_os.js | |
parent | 7ce2b58bcf412924464578f3469c210b34894c8b (diff) |
feat(unstable): Add Deno.Conn.ref()/unref() (#17170)
This commit adds "Deno.Conn.ref()" and "Deno.Conn.unref()" methods.
These methods can be used to make connection block or not block the
event loop from finishing. Refing/unrefing only influences "read"
operations - ie. scheduling writes to a connection _do_ keep event
loop alive.
Required for https://github.com/denoland/deno/issues/16710
Diffstat (limited to 'runtime/js/30_os.js')
0 files changed, 0 insertions, 0 deletions