Stream so that will only emit items from the source sequence
if a window has completed, without the source sequence emitting
This window is created after the last debounced event was emitted. You can use the value of the last debounced event to determine the length of the next window.
A window is open until the first window event emits.
StreamTransformer filters out items
emitted by the source Observable
that are rapidly followed by another emitted item.
new Observable.fromIterable([1, 2, 3, 4]) .debounce(new Duration(seconds: 1)) .listen(print); // prints 4
- DebounceStreamTransformer(Stream window(T event))
- hashCode → int
The hash code for this object.
- runtimeType → Type
A representation of the runtime type of the object.
Stream< T>stream) → Stream< T>
Transforms the provided
RS, RT>( ) → StreamTransformer< RS, RT>
StreamTransformer<RS, RT>view of this stream transformer.inherited
Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
) → String
Returns a string representation of this object.
dynamic other) → bool
The equality operator.