fn settle(
state: &AppState,
actor: &str,
def_id: &str,
account_id: &str,
now: bool,
)Expand description
What a switch does when its window ends: as it would have without one. A turn still running waits for
its end, unless the switch ends turns (now: the caller said when: now, or the person pressed
“Switch now”). BLOCKING.