v0.20.1 Release
- Propagate the
PB_CONNECT
EventSource message to allow listening to the realtime connect/reconnect events.pb.realtime.subscribe("PB_CONNECT", (e) => { console.log(e.clientId); })
PB_CONNECT
EventSource message to allow listening to the realtime connect/reconnect events.
pb.realtime.subscribe("PB_CONNECT", (e) => {
console.log(e.clientId);
})