A

Admin • 833.24K Points
Coach

Q. What is the use of the async pipe in Angular templates?

  • (A) To manually unsubscribe from observables
  • (B) To convert observables to promises
  • (C) To bind observables directly and auto-unsubscribe
  • (D) To format data as JSON
  • Correct Answer - Option(C)
  • Views: 30
  • Filed under category Angular JS
  • Hashtags:

Explanation by: Admin

The async pipe subscribes to observables and updates the view with emitted values.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.