Ok, you see here we are taking the user idToken as Observable.
I am not sure is it a
stream
or signal
but for reactive programming it's very critical
Stream — A stream of discrete events. Also known in other FRP systems as an event, like keyboard input events, WebSocket events, login/logout events etc. (in rxjs
— Subject, Observable)
Signal — A container/store for a value that changes over time. Some FRP systems call it a behavior, property, cell or signal, like isLogin state, key press state, current user state etc. (in rxjs
— BehaviorSubject, ReplaySubject(1), shareReplay(1)).
For example in Angular components @Output
is a stream, and @Input
is a signal