Quiz: Combining Streams
Test yourself on combining streams in RxJS for Angular.
Quiz
1
What is the recommended way to handle subscription cleanup when not using the async pipe?
A)
Use the unsubscribe()
method directly.
B)
Utilize the ngOnDestroy()
life cycle hook.
C)
Set the subscription variable to null
.
D)
Use the finalize()
operator.
Question 1 of 40 attempted
Get hands-on with 1200+ tech skills courses.