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 /runtime/js/40_fs_events.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 'runtime/js/40_fs_events.js')
-rw-r--r-- | runtime/js/40_fs_events.js | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/runtime/js/40_fs_events.js b/runtime/js/40_fs_events.js index 21d552111..9592b9f7d 100644 --- a/runtime/js/40_fs_events.js +++ b/runtime/js/40_fs_events.js @@ -1,15 +1,12 @@ // Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. import { core, internals, primordials } from "ext:core/mod.js"; +import { op_fs_events_open, op_fs_events_poll } from "ext:core/ops"; const { BadResourcePrototype, InterruptedPrototype, } = core; const { - op_fs_events_open, - op_fs_events_poll, -} = core.ensureFastOps(); -const { ArrayIsArray, ObjectPrototypeIsPrototypeOf, PromiseResolve, |