spectatorsClosed

val spectatorsClosed: StateFlow<Boolean>

true once the host has signalled that the spectator gallery is closed — either because spectators are disabled or because maxSpectators has been reached.

Driven by declareSpectatorsClosed on the host side; observed by gameSpectate to detect and throw SpectatorsClosedException. false until then. Once true it survives admission reopening and closing again, since declareAdmissionOpen and declareAdmissionClosed both carry the mark forward (#3689). Only the host's own declareVacate clears it, by overwriting the host slot.