core/realtime/realtime-subject.service.ts
Service (providedIn root) that ensures to only create a single realtime subscription for each channel
Methods |
constructor(realtime: Realtime)
|
||||||
Parameters :
|
Protected createObservableForChannel | |||||||||
createObservableForChannel(channel: string, realtime: Realtime)
|
|||||||||
Type parameters :
|
|||||||||
Parameters :
Returns :
Observable<RealtimeMessage<T>>
|
getObservableForChannel | ||||||
getObservableForChannel(channel: string)
|
||||||
Type parameters :
|
||||||
Parameters :
Returns :
Observable<RealtimeMessage<T>>
|