Skip to content

Commit 035aef9

Browse files
VeskeRlawrence-forooghian
authored andcommitted
Implicit attach on channel.object.get() call
1 parent babc296 commit 035aef9

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

specifications/objects-features.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,9 @@ Objects feature enables clients to store shared data as "objects" on a channel.
1717
- `(RTO1d)` This clause has been replaced by [RTO23d](#RTO23d).
1818
- `(RTO23)` `RealtimeObject#get` function:
1919
- `(RTO23a)` Requires the `OBJECT_SUBSCRIBE` channel mode to be granted per [RTO2](#RTO2)
20-
- `(RTO23b)` If the channel is in the `DETACHED` or `FAILED` state, the library should throw an `ErrorInfo` error with `statusCode` 400 and `code` 90001
20+
- `(RTO23b)` This clause has been replaced by [RTO23e](#RTO23e) and [RTO23f](#RTO23f).
21+
- `(RTO23e)` If the channel is in the `INITIALIZED`, `DETACHED`, `DETACHING`, or `ATTACHING` state, implicitly attach the `RealtimeChannel` and wait for the attach to complete
22+
- `(RTO23f)` If the channel is in the `FAILED` state, the library should throw an `ErrorInfo` error with `statusCode` 400 and `code` 90001, indicating that the channel operation failed due to the current channel state
2123
- `(RTO23c)` If the [RTO17](#RTO17) sync state is not `SYNCED`, waits for the sync state to transition to `SYNCED`
2224
- `(RTO23d)` Returns a `PathObject` ([RTPO1](#RTPO1)) wrapping the `LiveMap` with id `root` from the internal `ObjectsPool`. The `PathObject` is created with an empty path, rooted at the `root` `LiveMap`
2325
- `(RTO11)` This clause has been replaced by [RTLMV3](#RTLMV3).

0 commit comments

Comments
 (0)