You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
UpdateResolution is responsible for updating the Publishers presence data when a new resolution is resolved (in publisher.resolveResolution).
If the resolution is not currently queued for update, it is added to a list of publisher resolutions to be updated. If the resolution is not the latest resolution to be added (for example, in practice, another has come along and the presence update failed), then it is removed and the operation terminates.
Otherwise, we wait for the ably channel to attach and update presence data to include the latest resolution. If this results in a fatal error or is successful, UpdateResolutionSuccess work is posted. Otherwise, the resolution update is retried.
The UpdateResolutionSuccess worker removes the resolution from the update queue.
Implement the following AAT Android worker:
UpdateResolution is responsible for updating the Publishers presence data when a new resolution is resolved (in publisher.resolveResolution).
If the resolution is not currently queued for update, it is added to a list of publisher resolutions to be updated. If the resolution is not the latest resolution to be added (for example, in practice, another has come along and the presence update failed), then it is removed and the operation terminates.
Otherwise, we wait for the ably channel to attach and update presence data to include the latest resolution. If this results in a fatal error or is successful,
UpdateResolutionSuccess
work is posted. Otherwise, the resolution update is retried.The
UpdateResolutionSuccess
worker removes the resolution from the update queue.This work depends on:
This work is implemented almost identically to the workers in the following task, so may benefit from taking what's already been done:
The text was updated successfully, but these errors were encountered: