You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unlike Rx.NET, BehaviorSubject doesn't remember the very last onNext value before an onCompleted: completed subject emits only onCompleted to subscribers.
The last known value is a NotificationLite object which might be null indicating a BehaviorSubject without default initial value.
What should the method be called? value(), getValue(), current(), getCurrent() ?
How should it propagate the various states: (empty, has value, has exception, terminated)? Perhaps via Notification?
If it returns the last value directly, what exceptions should indicate empty and terminated states? NoSuchElementException?
Rx 2.2 added a current value property that would come in handy. See discussion here: https://rx.codeplex.com/workitem/8
The text was updated successfully, but these errors were encountered: