onStart method

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

Called once after program initialization.

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

Implementation

@override
void onStart(void Function(Msg msg) send) {
  _send = send;
  inner?.onStart(send);
}