I'm wondering if there was any thought into adding the same .cancel to _.delay, a functionality that exists in _.throttle for example.
Hi @andersonaguiar!
The _.delay and _.defer methods return a timer ID that you can use with clearTimeout.
I know, I know, but I was advocating for consistency along lodash functionality.
PS: wrong mention
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Most helpful comment
I know, I know, but I was advocating for consistency along lodash functionality.
PS: wrong mention