provider/ydb.YdbClient()

Members

clientUnconfirmedStates :Map.<number, string>

Meta information about unconfirmed updates created by this client. Maps from confid to roomname

roomStates :Map.<string, RoomState>

Set of room states. We try to keep it up in sync with idb, but this may fail due to concurrency with other windows. TODO: implement tests for this

Methods

getY(roomname) → {Y}

Open a Yjs instance that connects to roomname.

Parameters:
Name Type Description
roomname string
Returns:
Y