Skip to content

Commit

Permalink
Updated documentation comments for Presence#SyncComplete property
Browse files Browse the repository at this point in the history
  • Loading branch information
sacOO7 committed Apr 19, 2024
1 parent 332d954 commit 8be657f
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions src/IO.Ably.Shared/Realtime/Presence.cs
Original file line number Diff line number Diff line change
Expand Up @@ -39,19 +39,17 @@ internal Presence(IConnectionManager connection, RealtimeChannel channel, string
internal ILogger Logger { get; private set; }

/// <summary>
/// Has the sync completed.
/// RTP13
/// Checks if presence sync has ended.
/// </summary>
///
[Obsolete("This property is deprecated, use SyncComplete instead")]
public bool IsSyncComplete => SyncComplete;
public bool IsSyncComplete => SyncComplete; // RTP13

/// <summary>
/// Checks if sync has completed
/// RTP13
/// Checks if presence sync has ended.
/// </summary>
///
public bool SyncComplete => MembersMap.SyncCompleted && !IsSyncInProgress;
public bool SyncComplete => MembersMap.SyncCompleted && !IsSyncInProgress; // RTP13

/// <summary>
/// Indicates whether there is currently a sync in progress.
Expand Down

0 comments on commit 8be657f

Please sign in to comment.