PublishSubjectExtensions<T> extension

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

on
  • PublishSubject<T>

Properties

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