throttleTime<T> function
Emits a notification from an Atom, then ignores subsequent source values for duration milliseconds, then repeats this process.
final searchTextAction = Atom.action(
key: 'searchTextAction',
pipe: throttleTime()
);
Implementation
PipeCallback<T> throttleTime<T>([Duration duration = const Duration(milliseconds: 500)]) {
return _ThrottleTime<T>(duration: duration).pipe;
}