in Angular by
What is an AsyncPipe in Angular?

1 Answer

0 votes
by

When an observable or promise returns something, we use a temporary property to hold the content. Later, we bind the same content to the template. With the usage of AsyncPipe, the promise or observable can be directly used in a template and a temporary property is not required. 

Related questions

0 votes
asked Jun 5, 2022 in Angular by Robindeniel
+1 vote
asked Jan 15, 2020 in Angular by rahuljain1
0 votes
asked Jul 5, 2022 in Angular by sharadyadav1986
...