Skip to main content

poll_due_of

Function poll_due_of 

Source
pub async fn poll_due_of(
    kind: PollKind,
    scheduler: &CronScheduler,
    all: &[CronJob],
    check: &Check,
    state: &mut PollState,
    now: i64,
) -> usize
Expand description

poll_due for the jobs of one PollKind. The due questions are asked first, the api ones a few at a time and the rest one after another, and the answers are then handled in the jobs’ order.