What is subscribing and multicasting in Angular?

Sameer Kadam
Sameer Kadam

Posted On: Jan 03, 2020

 

When someone subscribes then at that point in time the observable instance helps in the development of the values.

On the other hand, the process of broadcasting the list of several multiple subscribers and that too in a single execution this process is known as multicasting. The observable used here then here you have no registered listeners on the document. So what happens here is that by the use of the first listener we can send the values to each and every subscriber and that also we can keep reusing it.

    Related Questions

    Please Login or Register to leave a response.

    Related Questions

    Angular 7 Interview Questions

    What's new in Angular 7?

    Angular Elements is enabled to support content projection with the help of web standards for custom elements...

    Angular 7 Interview Questions

    What is IVY Renderer? Is it supported by Angular 7?

    Angular will be releasing a new kind of rendering pipeline and view engine...

    Angular 7 Interview Questions

    What are the Core Dependencies of Angular 7?

    Core DependenciesThere are two types of core dependencies: RxJS and TypeScript...