Top "Subject-observer" questions

Use this tag for questions related to an Observer for a Subject.

How can PublishSubject and BehaviorSubject be unsubscribed from?

Under the subjects package you have classes like PublishSubject and BehaviorSubject which I suppose can be described as some usable …

java rx-java subject-observer
Async pipe not working with Subject

I have the following BehaviorSubject in a service: isAuthenticated = new BehaviorSubject<boolean>(false); And I am using it …

angular rxjs subject-observer
Subject and Observable, how to delete item, filter() list and next()

I have a list of songs setup with Subject and Observable (shown with | async in view), and now I want …

angular rxjs observable rxjs5 subject-observer
Angular 6 - Behaviour Subject: get data to stay after refresh

I'm trying to pass data between course-detail component and course-play component. I used shared service and BehaviorSubject. The data is …

angular typescript behaviorsubject subject-observer
Angular Service with Subject Observable calling next() is not seen by Component subscriptions

I want to retrieve an updated object value (borrower) from an Angular Service. I've created an RxJS Subject in the …

angular rxjs subject-observer
Wrap an Observable. Do something before and after each emitted value

I'd like to build a wrapper class, that does something before and after each emitted value of an Observable. Here's …

typescript rxjs observable rxjs5 subject-observer
how to add an object to an observable of array

I have an angular project with a service called BookService. private books: Subject<Book[]>; getBookList(skip:number = 0,limit:…

angular angular6 subject-observer
BehaviorSubject with boolean value is not working as intended

I have implemented a simple BehaviorSubject, import {BehaviorSubject} from "rxjs"; class MyWeirdoClass { constructor() {} private st: Subject<boolean> = new …

javascript angular rxjs behaviorsubject subject-observer
Angular 4 RxJs Observable Subjects array not updating with new object

So recently i've learnt about Subjects, and i'm trying to use them in a personal project. I have a service …

javascript angular rxjs observable subject-observer