ably / ably-asset-tracking-swift

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

Publisher Worker Queue: Presence Message #595

Open AndyTWF opened 1 year ago

AndyTWF commented 1 year ago

Implement the following worker on the publisher worker queue:

This worker is triggered when presence updates are received from Ably.

If the action is presence enter and the member is a subscriber, a subscriber is added to the publisher via a call to addSubscriber.

If the action is presence leave or absent, and the member is a subscriber, a subscriber is removed from the publisher via a call to removeSubscriber.

If the action is an update and the member is a subscriber, a subscriber is updated on the publisher via a call to updateSubscriber.

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