From 515a34b4de222e35c7ade1b92614d746e73d4c2e Mon Sep 17 00:00:00 2001 From: Kenta Moriuchi Date: Thu, 11 Jan 2024 07:37:25 +0900 Subject: refactor: use `core.ensureFastOps()` (#21888) --- ext/node/polyfills/_util/async.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'ext/node/polyfills/_util/async.ts') 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, -- cgit v1.2.3