realtime
The blocks in the realtime group of realtime. If you run an older core, some of them may not be available to you yet.
- disconnect
conditionv15.0.2Closes sockets: the run's, a session's or every socket of a user, after an optional last push. - on socket disconnect
execute_functionv15.0.2Runs once per realtime socket when it closes, with the reason: client_closed, server_closed, kicked, token_revoked, write_queue_full, rate_limited, drained or node_lost. node_lost fires from another node for the sockets of a node that died. - rooms
objectv15.0.2A session's rooms, each with the seq it was joined at. - subscribe
conditionv15.0.2Adds rooms to a socket's session, a session or every session of a user, on any node. - unsubscribe
conditionv15.0.2Removes rooms from a socket's session, a session or every session of a user, on any node. - on socket method
execute_functionv15.0.2Answers a realtime socket method by name: the method inevent, the function on On Method. - push
conditionv15.0.2Pushes a frame to every socket in the rooms, on every node. - on socket before
execute_functionv15.0.2Runs before every socket method of the entity; if it answers, the method does not run. Where the gates every method passes through go. - on socket connect
execute_functionv15.0.2Runs when a realtime socket has upgraded, before its first frame. The function gets socket.
realtime Every block in this main group.