react-async-hook
react-async-hook copied to clipboard
useAsyncCallbackAbortable?
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?
Oh yes we could provide an extra useAsyncCallbackAbortable
Do you want to open a PR?