0 votes
in Angular 2 Game Of States by

What are observables?

1 Answer

0 votes
by

Observables are declarative which provide support for passing messages between publishers and subscribers in your application. They are mainly used for event handling, asynchronous programming, and handling multiple values. In this case, you define a function for publishing values, but it is not executed until a consumer subscribes to it. The subscribed consumer then receives notifications until the function completes, or until they unsubscribe.

Related questions

0 votes
0 votes
0 votes
asked Aug 11, 2023 in Angular by DavidAnderson
0 votes
0 votes
asked Aug 11, 2023 in Angular by DavidAnderson
...