Skip to content

Commit 0a96e51

Browse files
authored
Merge pull request #479 from ably/reuse-RTLM14-md
Defer to `RTLM14` check in `RTLM5d2`
2 parents 8de26c9 + 1fcfd28 commit 0a96e51

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

specifications/objects-features.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -483,14 +483,15 @@ Objects feature enables clients to store shared data as "objects" on a channel.
483483
- `(RTLM5d)` Returns the value from the current `data` at the specified key, as follows:
484484
- `(RTLM5d1)` If no `ObjectsMapEntry` exists at the key, return undefined/null
485485
- `(RTLM5d2)` If an `ObjectsMapEntry` exists at the key:
486-
- `(RTLM5d2a)` If `ObjectsMapEntry.tombstone` is `true`, return undefined/null
486+
- `(RTLM5d2h)` If the `ObjectsMapEntry` is tombstoned (per [RTLM14](#RTLM14)), return undefined/null
487+
- `(RTLM5d2a)` This clause has been replaced by [RTLM5d2h](#RTLM5d2h)
487488
- `(RTLM5d2b)` If `ObjectsMapEntry.data.boolean` exists, return it
488489
- `(RTLM5d2c)` If `ObjectsMapEntry.data.bytes` exists, return it
489490
- `(RTLM5d2d)` If `ObjectsMapEntry.data.number` exists, return it
490491
- `(RTLM5d2e)` If `ObjectsMapEntry.data.string` exists, return it
491492
- `(RTLM5d2f)` If `ObjectsMapEntry.data.objectId` exists, get the object stored at that `objectId` from the internal `ObjectsPool`:
492493
- `(RTLM5d2f1)` If an object with id `objectId` does not exist, return undefined/null
493-
- `(RTLM5d2f3)` If an object with id `objectId` exists and its `LiveObject.isTombstone` is `true`, return undefined/null
494+
- `(RTLM5d2f3)` This clause has been replaced by [RTLM5d2h](#RTLM5d2h)
494495
- `(RTLM5d2f2)` Otherwise, return the object with id `objectId`
495496
- `(RTLM5d2g)` Otherwise, return undefined/null
496497
- `(RTLM10)` `LiveMap#size`:

0 commit comments

Comments
 (0)