safe_stream_value library

Extensions

BehaviorSubjectExtensions on BehaviorSubject<T>
Add value to the stream only when it is not closed, otherwise do nothing
PublishSubjectExtensions on PublishSubject<T>
Add value to the stream only when it is not closed, otherwise do nothing
ReplaySubjectExtensions on ReplaySubject<T>
Add value to the stream only when it is not closed, otherwise do nothing
StreamControllerExtensions on StreamController<T>
Add value to the stream only when it is not closed, otherwise do nothing

Functions

doNothing() → void
No-Op function