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
Copy file name to clipboardExpand all lines: Sources/AblyLiveObjects/Internal/InternalDefaultRealtimeObjects.swift
+4-6Lines changed: 4 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -448,7 +448,7 @@ internal final class InternalDefaultRealtimeObjects: Sendable, LiveMapObjectsPoo
448
448
449
449
/// The state that drives the emission of the `syncing` and `synced` events and which stores the sync sequence data.
450
450
///
451
-
/// This manipulation of this value is based on https://github.com/ably/ably-js/blob/0c5baa9273ca87aec6ca594833d59c4c4d2dddbb/src/plugins/objects/objects.ts.
451
+
/// This manipulation of this value is based on https://github.com/ably/ably-js/blob/e280bff11a4a7627362c5185e764b7ebd0490570/src/plugins/objects/objects.ts.
452
452
/// TODO: Bring in line with spec once it exists (https://github.com/ably/ably-liveobjects-swift-plugin/issues/80)
453
453
internalvarstate=State.initialized
454
454
@@ -507,8 +507,8 @@ internal final class InternalDefaultRealtimeObjects: Sendable, LiveMapObjectsPoo
@@ -523,9 +523,7 @@ internal final class InternalDefaultRealtimeObjects: Sendable, LiveMapObjectsPoo
523
523
// I have, for now, not directly implemented the "perform the actions for object sync completion" of RTO4b4 since my implementation doesn't quite match the model given there; here you only have a SyncObjectsPool if you have an OBJECT_SYNC in progress, which you might not have upon receiving an ATTACHED. Instead I've just implemented what seem like the relevant side effects. Can revisit this if "the actions for object sync completion" get more complex.
Copy file name to clipboardExpand all lines: Sources/AblyLiveObjects/Internal/ObjectsSyncState.swift
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
/// The type that the spec uses to represent the client's state of syncing its local Objects data with the server.
2
2
///
3
-
/// (TODO: This isn't actually in the spec yet, will specify in https://github.com/ably/ably-liveobjects-swift-plugin/issues/80; it's currently copied from https://github.com/ably/ably-js/blob/0c5baa9273ca87aec6ca594833d59c4c4d2dddbb/src/plugins/objects/objects.ts)
3
+
/// (TODO: This isn't actually in the spec yet, will specify in https://github.com/ably/ably-liveobjects-swift-plugin/issues/80; it's currently copied from https://github.com/ably/ably-js/blob/e280bff11a4a7627362c5185e764b7ebd0490570/src/plugins/objects/objects.ts)
0 commit comments