Be told whenever the room's state changes (a player joins or leaves). Replaces any previous listener rather
than adding another - Play Again (see remotePlayAgainListener.ts) re-enters the same waiting room, which
would otherwise register a fresh listener each time, piling up duplicate renders on every room update.
Be told whenever the room's state changes (a player joins or leaves). Replaces any previous listener rather than adding another - Play Again (see remotePlayAgainListener.ts) re-enters the same waiting room, which would otherwise register a fresh listener each time, piling up duplicate renders on every room update.