onStart method

void onStart(
  1. void send(
    1. Msg msg
    )
)

Called once after program initialization.

Use send to inject messages (for example, replay scripts).

Implementation

void onStart(void Function(Msg msg) send) {}