Can lodash debounce cancel a leading-edge invocation before it executes?
Goal: ensure that a debounced function can be fully cancelled, preventing any execution (leading or trailing) even after the first call. Current lodash _.debounce provides a cancel() method that clears the pending timer, but if the function was invoked on the leading edge (leading: true) before cancel is called, the ongoing call proceeds unaffected. Uncertai