The state of the room is represented as an
YjsMap
to which you can add more
shared data types, which is then synced with all other peers in the room. Each module
can only access and modify its own room-state. Additionally you can also
access a global
awareness
object, which can be used to share editor states like cursor positions,
selections, etc.