πŸ“Š Angular
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

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