Open AndyTWF opened 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.
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.
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.
updateSubscriber
➤ Automation for Jira commented:
The link to the corresponding Jira issue is https://ably.atlassian.net/browse/SDK-3424
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
.