Skip to content

feat: add component-level request cancellation with AbortController &…#4489

Open
zaelgohary wants to merge 1 commit intodevelopmentfrom
development_request_cancellation
Open

feat: add component-level request cancellation with AbortController &…#4489
zaelgohary wants to merge 1 commit intodevelopmentfrom
development_request_cancellation

Conversation

@zaelgohary
Copy link
Copy Markdown
Contributor

  • Introduce useAbortController, useFetch, and useWithAbortSignal composables for automatic request cancellation on component unmount
  • Thread optional AbortSignal through gridproxy_client (builders, nodes, farms, twins, stats) and playground utils (get_nodes, contracts, mintings, node)
  • Update Node Finder, user nodes dashboard, contracts list, and app info components to use abortable requests and ignore AbortError via shared isAbortError helper
  • Enhance useAsync to gracefully ignore aborted tasks and add focused tests for abort behavior in useAbortController

#4447

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

Successfully merging this pull request may close these issues.

1 participant