BehaviorSubjectExtensions<T> extension

Add value to the stream only when it is not closed, otherwise do nothing

on
  • BehaviorSubject<T>

Properties

safeValue ← T
Safely set value to the stream and do nothing if stream is closed
no getter