diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2024-01-26 23:46:46 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-26 23:46:46 +0100 |
commit | 462ce14a78b4109143918878042b9f552083c82e (patch) | |
tree | 64c65d91557159efccb40117e340e7abbb08d75d /ext/net/01_net.js | |
parent | d889f996577a6345d08c4ce71063be6d765fb5ec (diff) |
refactor: migrate extensions to virtual ops module (#22135)
First pass of migrating away from `Deno.core.ensureFastOps()`.
A few "tricky" ones have been left for a follow up.
Diffstat (limited to 'ext/net/01_net.js')
-rw-r--r-- | ext/net/01_net.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/net/01_net.js b/ext/net/01_net.js index 9b13fcf26..29b9d29fc 100644 --- a/ext/net/01_net.js +++ b/ext/net/01_net.js @@ -6,7 +6,7 @@ const { InterruptedPrototype, internalRidSymbol, } = core; -const { +import { op_dns_resolve, op_net_accept_tcp, op_net_accept_unix, @@ -26,7 +26,7 @@ const { op_net_set_multi_ttl_udp, op_set_keepalive, op_set_nodelay, -} = core.ensureFastOps(); +} from "ext:core/ops"; const { op_cancel_handle, } = core.ensureFastOps(true); |