bind method
Stream values are debounced by calling the _addEvent
target
through Debounce.duration. The new stream will emit
the debounced values.
Implementation
@override
Stream<T> bind(Stream<T> stream) {
stream.listen((event) {
Debounce.duration(duration, _addEvent, [event]);
});
return controller.stream;
}