Skip to main content

poll_due

Function poll_due 

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

Asks the question of every poll job that is due and starts a run for each new item. Returns how many runs it started or queued. now is a parameter so a test can step the clock.