rustBroadcaster top-level property

StreamController<RustSignal> rustBroadcaster
final

Listens to a stream from Rust and broadcasts the data in Dart. You can see the usage example at https://pub.dev/packages/rinf/example.

Implementation

final rustBroadcaster = StreamController<RustSignal>.broadcast();