Unhandled promise rejections in debounceAsync and throttle utilities
Unhandled promise rejections in debounceAsync and throttle utilities: a task in LegoFlow-SWE (Harbor dataset). When using debounceAsync or throttle with async functions, rapid successive calls cause unhandled promise rejections. The rejection reason is 'canceled' , and these rejections propagate…
The task
When using `debounceAsync` or `throttle` with async functions, rapid successive calls cause unhandled promise rejections. The rejection reason is `'canceled'`, and these rejections propagate to the console as unhandled, leading to noisy logs and potential memory leaks from unresolved promises.
Part of Lego-X/LegoFlow-SWE.