Pudu programming language
Menu
API reference

Std.App.Work.isDue

1 declaration

fn

isDue: &Std.App.Work.Job -> Int -> Bool

This is a callable function.

What it does

Whether one job is due.

A job that has never run is due once its first delay has passed, measured

from the start of time the caller is counting from — which for a service is

when it started.

Read the signature

  • The text after the name is the type checked by Pudu.
  • Read arrows from left to right: inputs come first, and the final type is returned.
  • & borrows a value for this call instead of moving or copying it.

Back to Std.App.WorkSearch related declarations