-
Notifications
You must be signed in to change notification settings - Fork 323
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support AbortSignal
to debounce
& delay
for improved cancellation
#37
Comments
If you don't have any plans to work on this, may I take it on? Thank you. |
Sure, I have no plan to work for this now. |
It would help if we could make |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The
debounce
function already supports cancellation through its return value, but its usability would improve if it also supported cancellation viaAbortSignal
, which is implemented in all major web browsers and JavaScript runtimes.It would also be great to add a cancel feature to the
delay
function, and usingAbortSignal
here as well would be a good idea.The text was updated successfully, but these errors were encountered: