Class: ConcurrentEditingManager

sync.api. ConcurrentEditingManager


new ConcurrentEditingManager()

Manager for concurrent editing-related functionality.

Methods


createRoom()

Create a concurrent editing room for this document.
Returns:
The room ID. This room ID can be passed in the sync.api.Workspace.LoadingOptions.
Type
Thenable.<String>

isCreator()

Returns:
true if the current user is the creator of the room.
Type
boolean