diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2024-01-29 22:02:26 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-29 22:02:26 +0100 |
commit | 345423cf7697326258ce8b32f681910f4a2f77de (patch) | |
tree | 484dd157be01e3dc0d4f34f28526dac1804d0250 /ext/net/01_net.js | |
parent | 909986fa6ed3404e76590438b387391a6c213e46 (diff) |
refactor: Use virtul ops module (#22175)
Follow up to #22157.
This leaves us with 4 usages of `ensureFastOps()` in `deno` itself.
There's also about 150 usages of `Deno.core.ops.<op_name>` left as well.
Diffstat (limited to 'ext/net/01_net.js')
-rw-r--r-- | ext/net/01_net.js | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/ext/net/01_net.js b/ext/net/01_net.js index 29b9d29fc..1523f5aa5 100644 --- a/ext/net/01_net.js +++ b/ext/net/01_net.js @@ -7,6 +7,7 @@ const { internalRidSymbol, } = core; import { + op_cancel_handle, op_dns_resolve, op_net_accept_tcp, op_net_accept_unix, @@ -28,9 +29,6 @@ import { op_set_nodelay, } from "ext:core/ops"; const { - op_cancel_handle, -} = core.ensureFastOps(true); -const { Error, Number, ObjectPrototypeIsPrototypeOf, |