summaryrefslogtreecommitdiff
path: root/ext/node/polyfills/_util/async.ts
diff options
context:
space:
mode:
authorKenta Moriuchi <moriken@kimamass.com>2024-01-11 07:37:25 +0900
committerGitHub <noreply@github.com>2024-01-10 15:37:25 -0700
commit515a34b4de222e35c7ade1b92614d746e73d4c2e (patch)
tree8284201fc826a33f12597959a8a8be14e0f524bd /ext/node/polyfills/_util/async.ts
parentd4893eb51a01c5a692d8ca74a3b8ff95c5fd1d9f (diff)
refactor: use `core.ensureFastOps()` (#21888)
Diffstat (limited to 'ext/node/polyfills/_util/async.ts')
-rw-r--r--ext/node/polyfills/_util/async.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/node/polyfills/_util/async.ts b/ext/node/polyfills/_util/async.ts
index 6d65c402a..cc116412c 100644
--- a/ext/node/polyfills/_util/async.ts
+++ b/ext/node/polyfills/_util/async.ts
@@ -3,12 +3,13 @@
// (with some modifications)
import { primordials } from "ext:core/mod.js";
-import { clearTimeout, setTimeout } from "ext:deno_web/02_timers.js";
const {
Promise,
PromiseReject,
} = primordials;
+import { clearTimeout, setTimeout } from "ext:deno_web/02_timers.js";
+
/** Resolve a Promise after a given amount of milliseconds. */
export function delay(
ms: number,