coddicat / DebounceThrottle

C# Debounce and Throttle dispatchers
MIT License
48 stars 15 forks source link

Make DebounceDispatcher disposable #6

Closed Brunni closed 5 months ago

Brunni commented 5 months ago

I think the dispatcher should be disposable and not fire the pending event, when disposed.

But we could also provide an additional method "FlushAndDispose" or something, which fires the event as well.

coddicat commented 5 months ago

@Brunni thanks, done new version 2.1.0