Skip to main content

should_send

Function should_send 

Source
pub fn should_send(
    prev: Option<&Sent>,
    now_level: Level,
    free: u64,
    now_s: u64,
) -> bool
Expand description

Whether a note goes out now. prev is the last one, now_level the level now (not Ok), free the free bytes now and now_s unix seconds.