Q. What is the purpose of the AsyncPipe in Angular templates?

  • (A) Manually subscribe to Observables
  • (B) Automatically subscribe and unsubscribe from Observables or Promises
  • (C) Transform synchronous data
  • (D) Format dates asynchronously
πŸ’¬ Discuss
βœ… Correct Answer: (B) Automatically subscribe and unsubscribe from Observables or Promises
Explanation: AsyncPipe handles subscription and unsubscription automatically.
Explanation by: Mr. Dubey
AsyncPipe handles subscription and unsubscription automatically.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
65
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
87%
Success Rate