In Angular, the _____ pipe is used to automatically subscribe and unsubscribe from an Observable.
- async
- map
- reduce
- switchMap
In Angular, the async pipe is used to automatically subscribe and unsubscribe from an Observable. It simplifies the management of Observable subscriptions in templates, ensuring proper cleanup.
Loading...
Related Quiz
- How can you display validation error messages for a custom validator in Angular?
- In what scenario would you use the ResolveEnd Router Event?
- What is the role of fixture in Angular component tests?
- What language is used to write E2E tests in Protractor?
- How can you preload data for a route before navigating to it?