Put in order · Angular course · Module 6: Signals
Bridge between Signal and Observable
Arrange the process of connecting an RxJS stream to a signal in a component.
Items to put in order
- We read the value by calling the signal: timerSignal()
- We create an Observable, e.g. interval(1000)
- effect() reacts to every change of this signal
- toSignal() turns the Observable into a Signal
You can check the correct answer by solving this task in the CodeWorlds game.