Skip to content

SwitchTo

Name Mandatory Description Default Type
⬅️ Input Any input type is accepted. The input of this shard will be given as input for the specified Wire Any
Output ➡️ The output of this shard is the output of the Wire that execution was switched to, upon switching back to the parent Wire. Any
Wire No The Wire to switch to. If none is provided, the Wire is switched back to the parent Wire it was switched from (should a parent Wire exist). none WireStringNone
Restart No If the Wire should always restart from the beginning instead of resuming from its previous state. false Bool

Suspends the current Wire and switches execution to the specified Wire.