Module broadcaster

Source
Expand description

SSE broadcaster.

This module contains the Server-Sent Events broadcaster, which is responsible for keeping track of connected clients and broadcasting messages to them. For broadcasting, the broadcaster takes a map_id and an Action and broadcasts the action to all clients connected to that map.

Structs§

Broadcaster
SSE broadcaster.
ConnectedMap 🔒
Map that clients are connected to.