pub struct StartInput {
pub info: SessionInfo,
pub env: Environment,
pub options: Options,
pub data: Vec<(String, Value)>,
pub sessions: Option<Vec<String>>,
}Expand description
The input that starts a session.
Fields§
§info: SessionInfoSystem variables.
env: EnvironmentTime and seed for the start macrostep.
options: OptionsInterpreter options.
data: Vec<(String, Value)>Values for top-level data items supplied by the invoking session (the evaluated
namelist and <param> of <invoke>, W3C SCXML 6.4.4): a top-level data item whose
identifier is listed here is initialized to the value instead of its expr, content or
src. Names that match no top-level data item are ignored.
sessions: Option<Vec<String>>The session identifiers the SCXML Event I/O Processor can deliver to while this input
is processed, when the host knows them. With a list, an immediate <send> to
#_scxml_<id> naming no listed session queues error.communication (with the send id)
on the internal queue at once, as W3C SCXML 6.2.4 requires (IRP test 496); with None
every such target goes to the host, which reports delivery failures back as an
error.communication input.