Open Wolvenstone opened 1 year ago
Hi! I want to allow users to cancel running fetch requests in the UI. Even though the useAsyncAbortable sounds like the right place, it only handles aborting internally, and there seems to be no way to trigger that from the outside.
Am I missing something or is it not possible?
I added a PR to allow users to cancel running queries: https://github.com/slorber/react-async-hook/pull/102
Hi! I want to allow users to cancel running fetch requests in the UI. Even though the useAsyncAbortable sounds like the right place, it only handles aborting internally, and there seems to be no way to trigger that from the outside.
Am I missing something or is it not possible?