You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Throw a RangeError for a wait that a timer cannot wait for e1fde61
This includes NaN, a non-numeric string, and a value larger than 2147483647 (about 24.8 days). Before, NaN did not wait at all, and a larger value re-armed a timer every millisecond.
Do not throw when different instances call a debounced method on a shared prototype d782617
Improvements
Keep readonly rest parameters in the TypeScript types d782617
Before, a debounced (...values: readonly number[]) => … function could not be called.
Fixes
Fix .flush() calling the function a second time, with no arguments, after an immediate call d0f2093
Fix .trigger() running a call from a wait that already ended in immediate mode d0f2093
Fix .trigger() dropping a call that the function makes to its debounced function d0f2093
Fix .trigger() running the function a second time if it throws d0f2093