Skip to content

Integration with AbortSignal #961

Open

Description

@bradjones1

I'm integrating Orbit with a React Native app and I'd like to gracefully clean up outstanding network requests/async procedures in my useEffect() implementations.

As far as I can tell, Orbit doesn't have existing integration with, say, AbortController... I think that would also mean Orbit would have to cancel whatever active transform called fetch, and do whatever other cleanup is necessary.

Activity

  1. bradjones1 commented on Aug 11, 2022

    @bradjones1
    ContributorAuthor

    Issue archaeology: #635

    The approach in the above PR seems to look like it's a global abort, vs. being able to cancel individual transforms? This is a bit afield of my JS skill at the moment but worth linking to prior art/conversation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions