Skip to content

SDK should support abortable requests #61

@gauravmakkar

Description

@gauravmakkar

Currently there is no way to abort a request from the client. For example:

  1. UI makes requests to fetch the data
  2. While the call is in progress, the UI component unmounts/redirects to some other component.
  3. While un-mounting, the UI should be able to cancel pending HTTP calls to avoid unnecessary attempts to re-render.

Expected Behaviour

Actual Behaviour

Reproduce Scenario (including but not limited to)

Steps to Reproduce

Platform and Version

Sample Code that illustrates the problem

Logs taken while reproducing problem

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