Skip to content

Stop

Name - Description Default Type
<input> Any
<output> Any
Wire The wire to stop. None WireString&Wire
Passthrough The output of this shard will be its input. false Bool

Stops another wire. If no wire is given, stops the current wire.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
(defloop Loop
  (Math.Add 1)
  (Log)
  (Cond
   [(-> (Is 5))
    (Stop)])
  (Restart))

0
(Do Loop)
[info] [Loop] 1
[info] [Loop] 2
[info] [Loop] 3
[info] [Loop] 4
[info] [Loop] 5