Skip to main content

known_from

Function known_from 

Source
pub fn known_from(
    due: i64,
    from: i64,
    until: i64,
    record_lost: Option<i64>,
    peers: &[Peer],
) -> Option<i64>
Expand description

The first moment from from on, before until, at which a dose due at due is known not taken (doubts_now) while nothing new is read: a device closed before it becomes known so once the news of an opening had the time to come (Peer::wake), a device in use only goes stale. None when it is not known by until. For what is shown ahead of time (a phone’s home screen card): “check” until then.