Skip to content

Decide how our SDK should interact with Swift Task cancellation #29

@lawrence-forooghian

Description

@lawrence-forooghian
  • Do we want to abort any of our operations if the current Task is cancelled? If so, how would that be reflected in the public API?
  • What do we do if Task.sleep(…) fails with a cancellation error?

If we decide that room lifecycle operations should be stopped mid-way if the task is cancelled, we can probably simplify some of the room lifecycle manager tests — e.g. we currently have to set up all of the mocks to allow a RETRY to complete even though we just want to test the first step of its behaviour.

┆Issue is synchronized with this Jira Story by Unito

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or improved functionality.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions