From 14d3718f49c2d0c11d297715eda525f5b73542da Mon Sep 17 00:00:00 2001 From: molvqingtai Date: Sat, 30 Nov 2024 10:38:19 +0800 Subject: [PATCH] docs: update --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index baf3995..6326c27 100644 --- a/README.md +++ b/README.md @@ -47,7 +47,8 @@ setTimeout(() => timer.stop(), 3000) ``` **Adapter** -SetTimeout is used by default, and custom adapters are supported, such as requestAnimationFrame, cancelIdleCallback, etc... + +`setTimeout` is used by default, and custom adapters are supported, such as `requestAnimationFrame`, `cancelIdleCallback`, etc... ```typescript const timer = new Timer(log, {