Receiving Data

Once the connection is established based on token permissions and filters you can receive update about the data being sent into the system

Receive real-time data

Let's consider a client subscriber type

socket.on('realtime', data => {
/**
* {
* from: <subscriber that generated that data>,
* data: <data object>
* }
*/
console.log('on realtime', data)
})