fn wait_for_press(
shown: &Shown,
pressed: Box<dyn FnOnce(&str) + Send>,
record: Option<&mut dyn DoseRecord>,
)Expand description
A shown notice’s button waited for on its connection: pressed runs with
the key of the first one pressed, and the wait ends then, or when the
notification closes, or the connection goes. What it heard before its
number was known is read now. A dose’s reminder (record) is taken away
once its dose is marked or answered anywhere read here, looked at each
LOOK (review of battery part C, the fifth review’s L2).