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
/// Overrides the internal data for the object as per RTLC6, RTLM6.
74
77
///
75
78
/// Returns a ``DeferredUpdate`` which contains the object plus an update that should be emitted on this object once the `SyncObjectsPool` has been applied.
// RTO5c1b1c: Otherwise, log a warning that an unsupported object state message has been received, and discard the current ObjectState without taking any action
Copy file name to clipboardExpand all lines: Sources/AblyLiveObjects/Internal/SyncObjectsPoolEntry.swift
+9Lines changed: 9 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -3,4 +3,13 @@ import Foundation
3
3
/// The contents of the spec's `SyncObjectsPool` that is built during an `OBJECT_SYNC` sync sequence.
4
4
internalstructSyncObjectsPoolEntry{
5
5
internalvarstate:ObjectState
6
+
/// The `serialTimestamp` of the `ObjectMessage` that generated this entry.
7
+
internalvarobjectMessageSerialTimestamp:Date?
8
+
9
+
// We replace the default memberwise initializer because we don't want a default argument for objectMessageSerialTimestamp (want to make sure we don't forget to set it whenever we create an entry).
0 commit comments