Skip to content

Resume

Name Mandatory Description Default Type
⬅️ Input Any input type is accepted. The input value will pass through unchanged. Any
Output ➡️ Outputs the input value, passed through unchanged. Any
Wire No The Wire to resume. none WireStringNoneVar(Wire)

Resumes another Wire (previously paused using Suspend).

Examples

1
2
3
4
5
6
7
@wire(hello {
  Msg("Hello")
  SwitchTo
})

SwitchTo(hello)
Msg("World")

[info] [hello] Hello
[info] [sample-wire] World