Angular · Middle · Question 10 of 75
What does toObservable(sig) let you do?
- ✓Correct answer: Use RxJS operators like
debounceTimeandswitchMapon signal changes - 2Make a signal writable from outside the component
- 3Convert a signal to a Promise
Explanation
A common pattern: toSignal(toObservable(this.query).pipe(debounceTime(300), switchMap((q) => this.api.search(q)))). Signals hold state; RxJS is good at time-based and cancellable async flows.