Skip to content

Add support to cancel SDK network requests #21

@bmilekic

Description

@bmilekic

Consider the following scenario:

  • targeting() being called by app developer, to update local targeting data cache every time the app is foregrounded
  • user rapidly backgrounds-foregrounds the app
  • currently, this results in several network requests being sent to backend

A mitigation could be that any pending targeting request is cancelled prior to a new one being dispatched.

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