Wait 
Name 
Mandatory 
Description 
Default 
Type 
 
 
⬅️ InputAny input type is accepted. The input value will either pass through unchanged or be ignored. 
None 
Output ➡️If Passthrough is true, this shard outputs the input value, passed through unchanged. Otherwise, it outputs the output of the Wire it waited for. 
Any 
WireThe Wire to wait for. 
noneWireStringNoneVar(Wire) 
PassthroughIf set to true, outputs the input value, passed through unchanged. 
falseBool 
TimeoutThe optional amount of time in seconds to wait for the specified Wire to complete. If the specified time elapses before the specified Wire is complete, the current Wire will fail with a Timeout error. 
noneFloatVar(Float)None 
 
 
Waits for the specified Wire to complete before resuming execution of the current Wire.
Examples 
 1 
 2 
 3 
 4 
 5 
 6 
 7 
 8 
 9 
10 
11 
12 
13 
14 
15 
16 
17 
18 
19 
20 
21 
22 
23 
24 
25 
26 @wire(wire-that-waits {
  If(Predicate: IsLess(0)
    Then: {
      "Negative" > result
    } Else: {
      "Positive" > result
    }
  )
})
@wire(main-wire {
  Once({
    "false" >= result
  })
  5
  Detach(wire-that-waits)
  Wait(
    Wire: "myWire"
    Passthrough: false
  )
  result
  Log
} Looped: true)
{logic-behavior: main-wire}