A

Admin • 833K Points
Coach

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

  • (A) Subscribes to an Observable or Promise and returns the latest value
  • (B) Executes asynchronous tasks in background
  • (C) Creates an observable
  • (D) Handles promises in services
  • Correct Answer - Option(A)
  • Views: 23
  • Filed under category Angular JS
  • Hashtags:

Explanation by: Admin

`async` pipe handles subscription/unsubscription automatically.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.