smart_debouncer 0.0.1
smart_debouncer: ^0.0.1 copied to clipboard
A smart debouncer that dynamically adjusts delay using Exponential Moving Average (EMA) based on actual typing speed. Perfect for autocomplete/search API optimization.
0.0.1 #
- Initial release.
SmartDebouncerclass with EMA-based dynamic delay calculation.- Configurable parameters:
minDelay,maxDelay,alpha,pauseThreshold,multiplier. - Pause detection to filter out natural typing pauses.
- Safety clamping to keep delay within min/max bounds.