pub struct Options {
pub actor: Option<String>,
pub time: Option<i64>,
pub input: Option<Value>,
pub checkpoint: Option<Checkpoints>,
pub max_timers: Option<u64>,
pub max_steps: Option<u64>,
pub from: Option<Checkpoint>,
}Expand description
What a run starts or reopens of, beside its machine: the workflow contract’s run options. Every field may be left out.
Fields§
§actor: Option<String>The root actor’s id: root by default. A run’s own id is the host’s.
time: Option<i64>The clock the run starts at, in whole milliseconds, a safe integer: 0
by default. Not read when from reopens a run. The runtime starts a
run at a time of 0 or more.
input: Option<Value>The run’s input, of a new run: null is kept. A run reopened of a
checkpoint takes none.
checkpoint: Option<Checkpoints>Which snapshots hold the engine’s state: each, by default.
max_timers: Option<u64>How many timers a time input fires at most in a chunk of control inputs alone: 1000 by default. The run’s records depend on it.
max_steps: Option<u64>The bound of the work of one call, as the runtime’s maxSteps: its
default by default.
from: Option<Checkpoint>The checkpoint to reopen the run of: it goes on from its state, its
clock and its seq, and gives the same records of the same chunks it
gave the first time.