Every time the socket sends an update, this will be called with the received GraphQL document. For example:
{
"data": {
"subscribeToMessages": {
"__typename": "NewTextMessage",
"chatId": 3,
"message": "Hi!"
}
}
}
Generated using TypeDoc
Every time the socket sends an update, this will be called with the received GraphQL document. For example: