Properties
_WS
_WS : WebSocketPolyfillType
Defined in ../client/dist/main.d.ts:54
_awareness Update Handler
_awareness Update Handler : Function
Defined in ../client/dist/main.d.ts:69
_bc Subscriber
_bc Subscriber : Function
Defined in ../client/dist/main.d.ts:67
_check Interval
_check Interval : number | Timer
Defined in ../client/dist/main.d.ts:71
_observers
_observers : Map < string , any >
_resync Interval
_resync Interval : number | Timer
Defined in ../client/dist/main.d.ts:66
_synced
_synced : boolean
Defined in ../client/dist/main.d.ts:62
_unload Handler
_unload Handler : Function
Defined in ../client/dist/main.d.ts:70
_update Handler
_update Handler : Function
Defined in ../client/dist/main.d.ts:68
awareness
awareness : Awareness
Defined in ../client/dist/main.d.ts:55
bc Channel
bc Channel : string
Defined in ../client/dist/main.d.ts:50
bcconnected
bcconnected : boolean
Defined in ../client/dist/main.d.ts:58
disable Bc
disable Bc : boolean
Defined in ../client/dist/main.d.ts:59
doc
doc : Doc
Defined in ../client/dist/main.d.ts:53
max Backoff Time
max Backoff Time : number
Defined in ../client/dist/main.d.ts:49
message Handlers
message Handlers : HandlerFunction []
Defined in ../client/dist/main.d.ts:61
roomname
roomname : string
Defined in ../client/dist/main.d.ts:52
should Connect
should Connect : boolean
Defined in ../client/dist/main.d.ts:65
url
url : string
Defined in ../client/dist/main.d.ts:51
ws
ws : null | WebSocket
Defined in ../client/dist/main.d.ts:63
ws Last Message Received
ws Last Message Received : number
Defined in ../client/dist/main.d.ts:64
ws Unsuccessful Reconnects
ws Unsuccessful Reconnects : number
Defined in ../client/dist/main.d.ts:60
wsconnected
wsconnected : boolean
Defined in ../client/dist/main.d.ts:56
wsconnecting
wsconnecting : boolean
Defined in ../client/dist/main.d.ts:57
Websocket Provider for Yjs. Creates a websocket connection to sync the shared document. The document name is attached to the provided url. I.e. the following example creates a websocket connection to http://localhost:1234/my-document-name
Example