Properties
_WS
_WS : WebSocketPolyfillType
Defined in ../client/dist/main.d.ts:53
_awareness Update Handler
_awareness Update Handler : Function
Defined in ../client/dist/main.d.ts:68
_bc Subscriber
_bc Subscriber : Function
Defined in ../client/dist/main.d.ts:66
_check Interval
_check Interval : number | Timer
Defined in ../client/dist/main.d.ts:70
_observers
_observers : Map < string , any >
_resync Interval
_resync Interval : number | Timer
Defined in ../client/dist/main.d.ts:65
_synced
_synced : boolean
Defined in ../client/dist/main.d.ts:61
_unload Handler
_unload Handler : Function
Defined in ../client/dist/main.d.ts:69
_update Handler
_update Handler : Function
Defined in ../client/dist/main.d.ts:67
awareness
awareness : Awareness
Defined in ../client/dist/main.d.ts:54
bc Channel
bc Channel : string
Defined in ../client/dist/main.d.ts:49
bcconnected
bcconnected : boolean
Defined in ../client/dist/main.d.ts:57
disable Bc
disable Bc : boolean
Defined in ../client/dist/main.d.ts:58
doc
doc : Doc
Defined in ../client/dist/main.d.ts:52
max Backoff Time
max Backoff Time : number
Defined in ../client/dist/main.d.ts:48
message Handlers
message Handlers : HandlerFunction []
Defined in ../client/dist/main.d.ts:60
roomname
roomname : string
Defined in ../client/dist/main.d.ts:51
should Connect
should Connect : boolean
Defined in ../client/dist/main.d.ts:64
url
url : string
Defined in ../client/dist/main.d.ts:50
ws
ws : null | WebSocket
Defined in ../client/dist/main.d.ts:62
ws Last Message Received
ws Last Message Received : number
Defined in ../client/dist/main.d.ts:63
ws Unsuccessful Reconnects
ws Unsuccessful Reconnects : number
Defined in ../client/dist/main.d.ts:59
wsconnected
wsconnected : boolean
Defined in ../client/dist/main.d.ts:55
wsconnecting
wsconnecting : boolean
Defined in ../client/dist/main.d.ts:56
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