Pudu programming language
Menu
API reference

Std.App.Work.runDue

1 declaration

fn

runDue: &Std.App.Work.Schedule -> Int -> fn() -> Int -> Std.App.Work.Schedule

This is a callable function.

What it does

The schedule after running everything due at a moment.

A job already running does not start a second: two runs of a job that

writes is a race nobody designed, and it shows up as duplicated work rather

than as an error. The skipped turn is counted, so a job that never finishes

in time is visible rather than merely slow.

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