is it possible to emit when the observable data variable is not null?

You need to subscribe to an Observable. As I understood, in your case is not type of an Observable. As is populated at some point of time, you need to subscribe to an observable which should emit data when you say is now populated with data. For that you can use a Subject.

See this example: link

CLICK HERE to find out more related problems solutions.

Leave a Comment

Your email address will not be published.

Scroll to Top