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