Skip to main content

notice_decision

Function notice_decision 

Source
fn notice_decision(
    due: bool,
    offer: impl FnOnce() -> Option<Offer>,
    comes: impl FnOnce() -> bool,
    meeting: impl FnOnce() -> bool,
    keeper: impl FnOnce() -> Keeper,
    today: Date,
) -> (WorkNotice, Option<Date>)
Expand description

The end-of-work notice’s decision (work_notice), each thing read only when those before let it on, in this order: whether it is due (its ten minutes, not told yet); what the day offers (offer): anything but the work day’s (closed, its review given, the evening’s offer instead), and it cannot come that day, told for today and never asked again; whether the matrix of what reaches you lets it come now (comes): held while it does not; a meeting: nothing said, told; who keeps the notices (keeper), asked last. Gives the decision, and the day to mark told, if any.