Skip to content

Resume

Name - Description Default Type
<input> Any
<output> Any
Wire The name of the wire to switch to. None WireString

Resumes a given wire and suspends the current one. In other words, switches flow execution to another wire.

Examples

1
2
3
4
5
6
(defwire hello
  (Msg "Hello")
  (Resume))

(Start hello)
(Msg "World")
[info] [hello] Hello
[info] [shards/General/Resume/Resume.edn] World