
Angular
What is the purpose of the async pipe?
The async pipe automatically subscribes to observables and promises, returning the latest value and unsubscribing when the component is destroyed.
<p>{{ data$ | async }}</p>
To post a comment or share your answer, please log in first
No comments yet. Be the first to share your thoughts!
1 / 25