πŸ“Š Angular
Q. Which operator is commonly used in Angular with Observables to unsubscribe automatically?
  • (A) subscribe()
  • (B) finalize()
  • (C) takeUntil()
  • (D) switchMap()
πŸ’¬ Discuss
βœ… Correct Answer: (C) takeUntil()

Explanation: `takeUntil` allows automatic unsubscription when a signal (e.g. destroy$) emits.

Explanation by: Mr. Dubey
`takeUntil` allows automatic unsubscription when a signal (e.g. destroy$) emits.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
55
Total Visits
πŸ“½οΈ
9 mo ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
93%
Success Rate