react-async-hook icon indicating copy to clipboard operation
react-async-hook copied to clipboard

useAsyncCallbackAbortable?

Open AdamTimberlake-Which opened this issue 4 years ago • 1 comments

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?

AdamTimberlake-Which avatar Oct 25 '21 09:10 AdamTimberlake-Which

Oh yes we could provide an extra useAsyncCallbackAbortable

Do you want to open a PR?

slorber avatar Oct 28 '21 08:10 slorber