summaryrefslogtreecommitdiff
path: root/ext/kv/01_db.ts
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2024-01-26 23:46:46 +0100
committerGitHub <noreply@github.com>2024-01-26 23:46:46 +0100
commit462ce14a78b4109143918878042b9f552083c82e (patch)
tree64c65d91557159efccb40117e340e7abbb08d75d /ext/kv/01_db.ts
parentd889f996577a6345d08c4ce71063be6d765fb5ec (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/kv/01_db.ts')
-rw-r--r--ext/kv/01_db.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/kv/01_db.ts b/ext/kv/01_db.ts
index bbcedfb79..8917e09e0 100644
--- a/ext/kv/01_db.ts
+++ b/ext/kv/01_db.ts
@@ -4,7 +4,7 @@ import { core, primordials } from "ext:core/mod.js";
const {
isPromise,
} = core;
-const {
+import {
op_kv_atomic_write,
op_kv_database_open,
op_kv_dequeue_next_message,
@@ -13,7 +13,7 @@ const {
op_kv_snapshot_read,
op_kv_watch,
op_kv_watch_next,
-} = core.ensureFastOps();
+} from "ext:core/ops";
const {
ArrayFrom,
ArrayPrototypeMap,