Rxjs
Webinar: Observables For All

Cancelable

Mute
Current Time 0:00
/
Duration Time 0:00
Loaded: 0%
Progress: 0%
Stream TypeLIVE
Remaining Time -0:00
 

In this section, we are going to discuss how to make subscriptions cancelable.

Cancelable

With observables, you only need to unsubscribe to cancel the subscription. Promises are not cancelable, so the requests may get sent to the server in instances where you don't want them to causing potential delays.

 

I finished! On to the next chapter