Stop 
Name 
Mandatory 
Description 
Default 
Type 
 
 
⬅️ InputAny input type is accepted. The input value will either pass through unchanged or be ignored. 
Any 
Output ➡️Depending on what is specified in the Passthrough parameter, this shard either outputs the input value, passed through unchanged or it outputs the output of the stopped Wire. Note that if it outputs the output of the stopped wire, it will be of Type::Any and thus should be checked or converted to the appropriate Type. 
Any 
WireThe Wire to stop. If none provided, the shard will stop the current Wire. 
noneWireStringNoneVar(Wire) 
PassthroughIf set to true, outputs the input value, passed through unchanged. 
trueBool 
 
 
Either stops the execution of a specified Wire or 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 
27 
28 
29 
30 @wire(add-progress {
  Once({
    progress-stat | Math.Add(1.0) > progress-stat
  } 1.0)
  progress-stat
  When(Predicate: Is(5.0) Action: {; ; add-progress will stop once progress-stat reaches  5.0
    Stop
  })
} Looped: true)
@wire(main-wire {
  Once({; ; initialize variables and detach the add-progress wire
    0.0 | Set(progress-stat Global: true)
    Detach(add-progress)
  })
  Once({
    progress-stat
    Log("Progress")
  } 1.0)
} Looped: true)
@mesh(main)
@schedule(main main-wire)
@run(main)