blob: ee704859d925b4c0adca5c2069fc3448df3aaf9f [file] [log] [blame]
-- in.cue --
root: {
a: {
$id: "sequenced"
seq: 2 // terminate at t2
val: "foo"
out: string
}
b: {
$id: "sequenced"
seq: 3 // terminate at t3
val: "bar"
out: string
}
c: {
$id: "sequenced"
seq: 1 // terminate at t1
val: "baz"
out: string
}
d: {
$id: "valToOut"
out: a.out + b.out + c.out
}
}
-- out/run/errors --
-- out/run/t0 --
graph TD
t0("root.a [Ready]")
t1("root.b [Ready]")
t2("root.c [Ready]")
t3("root.d [Waiting]")
t3-->t0
t3-->t1
t3-->t2
-- out/run/t1 --
graph TD
t0("root.a [Running]")
t1("root.b [Running]")
t2("root.c [Terminated]")
t3("root.d [Waiting]")
t3-->t0
t3-->t1
t3-->t2
-- out/run/t1/value --
{
$id: "sequenced"
seq: 1
val: "baz"
out: "baz"
}
-- out/run/t2 --
graph TD
t0("root.a [Terminated]")
t1("root.b [Running]")
t2("root.c [Terminated]")
t3("root.d [Waiting]")
t3-->t0
t3-->t1
t3-->t2
-- out/run/t2/value --
{
$id: "sequenced"
seq: 2
val: "foo"
out: "foo"
}
-- out/run/t3 --
graph TD
t0("root.a [Terminated]")
t1("root.b [Terminated]")
t2("root.c [Terminated]")
t3("root.d [Ready]")
t3-->t0
t3-->t1
t3-->t2
-- out/run/t3/value --
{
$id: "sequenced"
seq: 3
val: "bar"
out: "bar"
}
-- out/run/t4 --
graph TD
t0("root.a [Terminated]")
t1("root.b [Terminated]")
t2("root.c [Terminated]")
t3("root.d [Terminated]")
t3-->t0
t3-->t1
t3-->t2
-- out/run/t4/value --
{
$id: "valToOut"
out: "foobarbaz"
}