I have a problem few of my components need same data from backend. So they all calls getDataMethod(); it looks like this
public getData(): Observable<any> {
return this.http.get<any>(this.backendUrl);
}
response come in 5 seconds during this time I approximately call this method 3-4 times. So my question is were any they to return same observable to multiple subscribers?