From 804d857986dd995f8ef3625e9ee135aa245ba6c7 Mon Sep 17 00:00:00 2001 From: Shinya Watanabe Date: Sun, 4 May 2025 14:38:42 +0900 Subject: [PATCH] chore: fixed the description of defer() --- core/src/value/function.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/value/function.rs b/core/src/value/function.rs index a78b2f5a..53890901 100644 --- a/core/src/value/function.rs +++ b/core/src/value/function.rs @@ -81,7 +81,7 @@ impl<'js> Function<'js> { /// Defer call the function with given arguments. /// /// Calling a function with defer is equivalent to calling a JavaScript function with - /// `setTimeout(func,0)`. + /// `queueMicrotask()`. pub fn defer(&self, args: A) -> Result<()> where A: IntoArgs<'js>,