notify method
Implementation
@override
void notify(T in_value) {
_value = in_value;
if (fastFirstRun) {
// 马上触发
if (null == _timer) {
_onListenRun(_value);
_timer = Timer(time, () {
_onListenRun(_value);
_timer = null;
});
}
} else {
_timer?.cancel();
_timer = Timer(time, () {
_onListenRun(_value);
_timer = null;
});
}
}