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: Start Connection #590

Open AndyTWF opened 1 year ago

AndyTWF commented 1 year ago

Implement the following worker in the subscriber:

This worker takes a ably-provided callback that is given to subscriber.start(), this callback expects a Result with either a success or error information.

The worker first of all calls to update all trackable states.

Then, asyncronously:

If any of these steps fail, the callback function is called with a failure Result.

Finally, the worker posts SubscribeForPresenceMessages work, passing down the callback function.

This work depends on:

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-3408