Skip to content
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

useAsyncCallbackAbortable? #77

Open
AdamTimberlake-Which opened this issue Oct 25, 2021 · 1 comment
Open

useAsyncCallbackAbortable? #77

AdamTimberlake-Which opened this issue Oct 25, 2021 · 1 comment

Comments

@AdamTimberlake-Which
Copy link

I'm looking for the useAsyncCallback with the signal param passed to handle multiple taps in quick succession. I realise I can disable the button when you click it, but that's not ideal.

Can we combine the useAsyncAbortable and useAsyncCallback somehow?

@slorber
Copy link
Owner

slorber commented Oct 28, 2021

Oh yes we could provide an extra useAsyncCallbackAbortable

Do you want to open a PR?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants