Skip to content

Commit a1c9a6a

Browse files
committed
Add more explicit wording about handling non-null tombstonedAt values in LiveObjects spec
1 parent b66c60a commit a1c9a6a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

textile/objects-features.textile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ h3(#liveobject). LiveObject
111111
*** @(RTLO3c1)@ Set to @false@ when the @LiveObject@ is initialized
112112
** @(RTLO3d)@ protected @isTombstone@ boolean - a flag indicating whether this object has been tombstoned, i.e. marked for deletion from the objects pool
113113
*** @(RTLO3d1)@ Set to @false@ when the @LiveObject@ is initialized
114-
** @(RTLO3e)@ protected @tombstonedAt@ (optional) Time - a timestamp indicating when this object was tombstoned. This property is nullable, and is non-null if and only if @isTombstone@ is @true@
114+
** @(RTLO3e)@ protected @tombstonedAt@ (optional) Time - a timestamp indicating when this object was tombstoned. This property is nullable, and specification points that manipulate this value maintain the invariant that it is non-null if and only if @isTombstone@ is @true@
115115
*** @(RTLO3e1)@ Set to undefined/null when the @LiveObject@ is initialized
116116
* @(RTLO4)@ @LiveObject@ methods:
117117
** @(RTLO4b)@ public @subscribe@ - subscribes a user to data updates on this @LiveObject@ instance
@@ -224,7 +224,7 @@ h3(#livemap). LiveMap
224224
* @(RTLM2)@ Represents the map object type for Object IDs of type @map@
225225
* @(RTLM3)@ Holds a @Dict<String, ObjectsMapEntry>@ as a private @data@ map
226226
** @(RTLM3a)@ @ObjectsMapEntry@ entries in a @LiveMap@ have the following attributes in addition to those defined in "OME2":../features#OME2:
227-
*** @(RTLM3a1)@ @tombstonedAt@ (optional) Time - a timestamp indicating when this map entry was tombstoned. This property is nullable, and is non-null if and only if the corresponding @ObjectsMapEntry.tombstone@ is @true@
227+
*** @(RTLM3a1)@ @tombstonedAt@ (optional) Time - a timestamp indicating when this map entry was tombstoned. This property is nullable, and specification points that manipulate this value maintain the invariant that it is non-null if and only if the corresponding @ObjectsMapEntry.tombstone@ is @true@
228228
* @(RTLM4)@ The zero-value @LiveMap@ is a @LiveMap@ with @data@ set to an empty map
229229
* @(RTLM18)@ Data updates for a @LiveMap@ are emitted using the @LiveMapUpdate@ object:
230230
** @(RTLM18a)@ @LiveMapUpdate@ extends @LiveObjectUpdate@

0 commit comments

Comments
 (0)