webql/assembler/scheduler

Copy Markdown

Types

Scheduler

pub opaque type Scheduler(task)

Values

new

pub fn new(plan: program.Program(task)) -> Scheduler(task)

Creates a new scheduler instance from a linker program.

schedule

pub fn schedule(
  scheduler: Scheduler(task),
) -> Result(plan.Plan(task), diagnostic.Diagnostic)

Schedules a linker program.