addSync method

void addSync (
  1. T value
)

Adds and delivers an event.

Adds an event like add and attempts to deliver it immediately. Delivery can be delayed if other previously added events are still pending delivery, if the subscription is paused, or if the subscription isn't listening yet.

Implementation

void addSync(T value);

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dart.dev/stable/2.13.0/dart-async/MultiStreamController/addSync.html