ably / ably-asset-tracking-swift

iOS client SDKs for the Ably Asset Tracking service.
Apache License 2.0
9 stars 6 forks source link

Subscriber Worker Queue: Change Resolution #584

Open AndyTWF opened 1 year ago

AndyTWF commented 1 year ago

Implement the following workers for the Subscriber:

ChangeResolution is enqueued from the subscriber when the libraries consumer wishes to set a resolution preference for the subscriber. The logic of changing resolution is essentially identical to that of: https://github.com/ably/ably-asset-tracking-swift/issues/566, except the fact that ChangeResolutionSuccess work is posted upon completion.

sync-by-unito[bot] commented 1 year ago

➤ Automation for Jira commented:

The link to the corresponding Jira issue is https://ably.atlassian.net/browse/SDK-3402

lawrence-forooghian commented 1 year ago

@AndyTWF I think that ChangeResolutionSuccess only exists in the publisher SDK – in the subscriber SDK it directly calls the callback function. Actually, I can't see ChangeResolutionSuccess at all – where does that come from?