Skip to content

WireRunner

Name Mandatory Description Default Type
⬅️ Input The input of the shard, if any Any
Output ➡️ The resulting output of the shard Any
Wire No The wire variable to compose and run. none WireVar(Wire)
Mode No The way to run the wire. Inline: will run the sub wire inline within the root wire, a pause in the child wire will pause the root too; Detached: will run the wire separately in the same mesh, a pause in this wire will not pause the root; Stepped: the wire will run as a child, the root will tick the wire every activation of this shard and so a child pause won't pause the root. Enum: 0 vendor: 0x66726167 type: 0x72756e43 RunWireMode

Examples

1
2
3
4
5
6
7
8
@wire(testWire {
  Msg("Hello World from testWire!")
})

testWire | WriteFile("data/testWire.bin" Flush: true)
ReadFile("data/testWire.bin") | ExpectWire >= loadedWire

WireRunner(Wire: loadedWire Mode: RunWireMode::Inline)

[info] [testWire] Hello World from testWire!