Skip to main content

BRAID_QUIT_EVENT_NAME

Constant BRAID_QUIT_EVENT_NAME 

Source
pub const BRAID_QUIT_EVENT_NAME: &str = "braid-quit";
Expand description

Event name for the server-is-quitting SSE message.

Broadcast to every connected browser just before the server shuts down so that all clients (not only the one that initiated the quit) show the “Braid has quit” screen and stop trying to reconnect.