debounce (async)Calls share one promise, and cancel() rejects it for everyone awaitingutils-debounce-async6logUtilsindex.jsFunctions`cancel()` rejects the shared promise with an Error whose `code` is `CANCELLED`, so an `await` on a debounced call needs a catch["utils","functions","debounce","async","promise","cancel","pending"]Example
Categories