I'm new to RxJS. I basically wanted a BehaviorSubject
that doesn't require an initial value. I created it like this:
class AsyncBehaviorSubject<T> extends ReplaySubject<T> {
constructor() {
super(1)
}
}
It seems that this should be part of the library and that my class is unnecessary but I can't find anywhere in the documentation for an observable that provides this behavior. It makes me feel like I'm missing something.
Thanks!