Skip to main content

pick_throttle

Function pick_throttle 

Source
fn pick_throttle(account_id: &str, now: Instant) -> Result<(), String>
Expand description

Take the account’s picker slot, or say it was taken a moment ago. The slot is held from the check, so two calls at once can’t both open a picker; pick_release gives it back when the picker didn’t open.