An Observable that can emit multiple values over time is different from a Promise, which can resolve only ________.
- multiple times
- never
- once
- twice
An Observable can emit multiple values over time, whereas a Promise can resolve only once. This fundamental difference makes Observables suitable for handling asynchronous streams of data, while Promises are used for handling single asynchronous operations.
Loading...
Related Quiz
- You are developing a multi-tenant application where each tenant may require slightly different service implementations. How can you achieve this in Angular without duplicating a lot of code?
- Which option is NOT a valid view encapsulation mode in Angular?
- Which Route Guard is especially useful for feature modules that are lazy-loaded?
- What is the main purpose of Angular's ChangeDetectionStrategy.OnPush?
- The @Output() decorator is used to emit custom ________ from a component.