Hi Sander,

yes, I think that is the problem cause i already tried websocket without 
ngrx data and it's working .
i only subscribed to  the websocket  under rxjs module without given a http 
method.
i want to implement this function with ngrx data 

Best regards 


Le mercredi 12 août 2020 à 05:33:11 UTC+1, [email protected] a écrit :

> Angular's httpClient does a complete when the data is in. I suspect your 
> setup is waiting for the complete before it actually reacts. You need to 
> change this around so it acts when the data appears. The being difference 
> here is that its actually possible that there will be new data coming in 
> over your websocket, while http.get is a single operation.
>
> Regards
> Sander
>
> Op dinsdag 11 augustus 2020 om 15:38:23 UTC+2 schreef [email protected]
> :
>
>> Hi,
>> I'm a new at ngrx term . I'm trying to get websocket data from my 
>> back-end and store it as an entity using ngrx data i tried to change the 
>> getAll() method to get data as websocket but it seems not working cause the 
>> method based as httpclient .
>> can anyone help me with this ?
>> Best regards  
>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/angular/9a60d412-ec96-4e38-8b91-5c22b7cf9c37n%40googlegroups.com.

Reply via email to