Optional
token: stringPrivate
Readonly
adapterPrivate
isPrivate
Readonly
maxPrivate
maxPrivate
messagePrivate
reconnectPrivate
reconnectPrivate
Readonly
tokenPrivate
Readonly
websocketPrivate
Readonly
windowPrivate
wsConnect to the WebSocket server
Disconnect from the WebSocket server
Clean up resources
Private
flushFlush queued messages to the WebSocket
Handle incoming messages from the renderer
Check if WebSocket is currently connected
Private
scheduleSchedule reconnection with exponential backoff
Send a message to the WebSocket server
Private
sendSend a message to the renderer
WebSocket adapter that runs in Main Process (Node.js context). Manages WebSocket connection to Loro collaboration server. Proxies binary Loro update messages between renderer and server.