Concept Flow - Why subscriptions enable real-time data
Client sends subscription request
Server keeps connection open
Server listens for data changes
When data changes, server sends update
Client receives real-time update
Client updates UI or state
Connection stays open for more updates
The client asks the server to watch data. The server keeps the connection open and sends updates whenever data changes, so the client gets real-time information.