Nov 24, 2019 in Angular
Q: What is an AsyncPipe in Angular?

1 Answer

0 votes
Nov 24, 2019

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
Jan 6, 2020 in Angular
0 votes
Jan 15, 2020 in Angular