Schedules and executes the specified Wire inline of the current Wire. The specified Wire needs to complete its execution before the current Wire continues its execution. This means that a pause in execution of the child Wire will also pause the parent Wire.
@wire(hello {
Pause(2.0)
Msg("Hello")
})
@wire(main-wire {
Msg("Start")
Do(hello) ; ;hello is run inline. Start is logged, then 2s passes, and then Hello followed by End is logged.
Msg("End")
})
@mesh(main)
@schedule(main main-wire)
@run(main)