MyEventDebounce_c<T> constructor
MyEventDebounce_c<T> ({})
防抖
- 限制在
time
时间内没有新收到新数据后触发执行一次onListen
Implementation
MyEventDebounce_c({
required this.time,
required this.onListen,
this.fastFirstRun = false,
});