realue • Docs
realue / useAbortController
useAbortController(): () =>
AbortController
Returns a function that creates an AbortController
and aborts the previous one (if any).
The last created AbortController
is aborted when the component unmounts.
Function
Callback that returns a new AbortController
.
AbortController