Skip to content

Do

Name - Description Default Type
<input> Any input type is accepted. The input of this shard will be given as input for the specified Wire Any
<output> The output of this shard will be the output of the Wire that is executed. Any
Wire The Wire to execute inline. none WireString

Schedules and executes the specified Wire inline of the current Wire. The specified Wire needs to complete its execution before the current Wire continues its execution. This means that a pause in execution of the child Wire will also pause the parent Wire.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
(def logicWire
  (Wire
   "dologic"
   (IsMore 10) (Or) (IsLess 0)))

-10
(Do logicWire)
(Assert.Is true true)

5
(Do "dologic")
(Assert.IsNot true true)