Awareness state.
*/
public function get_awareness_state( string $room ): array;
/**
* Gets the current cursor for a given room. This should return a monotonically
* increasing integer that represents the last update that was returned for the
* room during the current request. This allows clients to retrieve updates
* after a specific cursor on subsequent requests.
*
* @since 7.0.0
*
* @param string $room Room identifier.
* @return int Current cursor for the room.
*/
public function get_cursor( string $room ): int;
/**
* Gets the total number of stored updates for a given room.
*
* @since 7.0.0
*
* @param string $room Room identifier.
* @return int Total number of updates.
*/
public function get_update_count( string $room ): int;
/**
* Retrieves sync updates from a room for a given client and cursor. Updates
* from the specified client should be excluded.
*
* @since 7.0.0
*
* @param string $room Room identifier.
* @param int $cursor Return updates after this cursor.
* @return array