worker 和进度相关
This commit is contained in:
1 parent
93e2f5cde8
commit
dbdbfcebd2
5 files changed
+67
-50
No files matched your search
@@ -21,7 +21,7 @@ public class RateLimitedWorker(Action workload, double minimalIntervalMs, RateLi
|
||||
RateLimitMode.ImmediateThenIgnore => Debouncer.Debounce(workload, TimeSpan.FromMilliseconds(minimalIntervalMs), leading: true, trailing: false)
|
||||
};
|
||||
|
||||
public void Invoke() {
|
||||
public void Start() {
|
||||
if (!disposed) action.Invoke();
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user