Works like filter(), but always lets through the first emission for each new subscriber. This makes it suitable for subscribers that expect the observable to behave like a BehaviorSubject, where the first emission is processed synchronously during the call to subscribe().
Works like
filter()
, but always lets through the first emission for each new subscriber. This makes it suitable for subscribers that expect the observable to behave like aBehaviorSubject
, where the first emission is processed synchronously during the call tosubscribe()
.