send method

Future<void> send(
  1. Msg msg
)

Sends msg and completes once the program has handled it. Throws StateError after dispose.

Implementation

Future<void> send(Msg msg) => _sendAll([msg]);