feat:添加注释
This commit is contained in:
parent
a937d0a68b
commit
903b19700e
@ -53,6 +53,7 @@ class FunctionBlocker {
|
||||
bool _blocked = false;
|
||||
Duration duration;
|
||||
|
||||
//阻止函数执行
|
||||
void block(Function function) {
|
||||
if (!_blocked) {
|
||||
_blocked = true;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user