pub fn next_phases(
current_round: u64,
max_round: u64,
current_phase: LobbyPhase,
) -> impl Iterator<Item = LobbyPhase>Expand description
Creates an iterator over all future phases in the rounds from now up to max_round.
If you set max_rounds very large, this iterator will (almost) never end,
so it may be a good idea to .take(n) only the first n elements.
current_round should not be greater than max_round.