Q. What does the `async` pipe do in Angular?

  • (A) It subscribes to an Observable or Promise and returns the latest value
  • (B) It makes asynchronous HTTP requests
  • (C) It delays rendering
  • (D) It prevents change detection
πŸ’¬ Discuss
βœ… Correct Answer: (A) It subscribes to an Observable or Promise and returns the latest value
Explanation: `async` pipe handles subscription and unsubscription of Observables in templates.
Explanation by: Mr. Dubey
`async` pipe handles subscription and unsubscription of Observables in templates.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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