Skip to main content

card_doses

Function card_doses 

Source
pub(crate) fn card_doses(now: &Zoned) -> Vec<Dose>
Expand description

Today’s doses for the card on a phone’s home screen (homecard): those due and not marked, from their time on, as the Porch has them (due_today: until marked, the day’s end, or twelve hours after their time), and those still to come today; each with until when it is known not marked on another device, the Porch’s rule given ahead (doubts_now: every other device heard within five minutes), 0 when it is not known from its time on. A record that does not read is never read as empty: every dose is then not known. Whether doses show while you sleep or pause is the card’s frames’ to say.