From 903b19700eee15e2009e103b93c979eb471831b6 Mon Sep 17 00:00:00 2001 From: anfe <448468458@qq.com> Date: Thu, 23 May 2024 18:43:41 +0800 Subject: [PATCH] =?UTF-8?q?feat:=E6=B7=BB=E5=8A=A0=E6=B3=A8=E9=87=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/tools/throttler.dart | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/tools/throttler.dart b/lib/tools/throttler.dart index 8cdf1304..a5b6e96f 100644 --- a/lib/tools/throttler.dart +++ b/lib/tools/throttler.dart @@ -53,6 +53,7 @@ class FunctionBlocker { bool _blocked = false; Duration duration; + //阻止函数执行 void block(Function function) { if (!_blocked) { _blocked = true;