Hi Manoj, Thank you so much for the tutorial , i was facing difficulty in my job to do angular things😀, u made my life easier , great work man🥰
@jatinkumar4410 Жыл бұрын
Amazing tutorial. You said we need to unsubscribe observable otherwise we will run out of memory. But here we are not storing data emitted, then how would we run out of memory.
@sanjaych68075 ай бұрын
Good Video sir. i think the counterObservable.subscribe() method returns object of type subscription rather than Observable.
@raviverma24312 жыл бұрын
God of Angular❤
@VladyslavHaidar2 жыл бұрын
So, is there the way to stop all these intervals with unsibscribing somehow from all subs or we only can create one observable and unsubscribe only from that observable?
@procademy2 жыл бұрын
You need to unsubscribe from the observable in each component, if you are using it in multiple components. If you have subscribed to an observable at multiple places in a single component, you need to unsubscribe from it only once, when the component is destroyed.
@pradeepg76562 жыл бұрын
You have a gift in teaching,u should have got more subscribers for your work quality,i have subscribed.all i can say now is thank you,if u have any paid course on any latest technology on any platform,please let me know in comments,will try to buy it.i just read your moto of giving free quality education,that is a beautiful service.all i can say is a humble thank you and kudos to your service for others
@procademy2 жыл бұрын
Thank you 🙂
@openminded89332 жыл бұрын
after creating 3 subscribers, when we click unsubscribe will it unsubscribe all observables?
@icursealot Жыл бұрын
I have tried it but its only closing one of the subscribers even if you click to unsubscribe all the time it does not stop.
@JuanHeribertoPoquiomaEsquivel Жыл бұрын
it only stops the last one because it has the reference to the observable... the others have lost the reference (leak memory) this line > this.counterSub = this.counterObservable.subscribe((val) => { console.log(val); })
@mouryakillamsetti2 жыл бұрын
You have created unsubscribe and subscribe methods with same name unsubscribe and subscribe can we give names as our own?