#1 Data Analytics Program in India
₹2,499₹1,499Enroll Now
4 min read
Question 38 of 46easy

Async Pipe

Handling Observables in templates.

What is Async Pipe?

The async pipe subscribes to an Observable or Promise and returns the latest value. It automatically unsubscribes on component destruction.

Benefits

  • Automatic subscription
  • Automatic unsubscription
  • Works with OnPush change detection