DEV Community

Discussion on: Nobody has to use HostListener

niklas_wortmann profile image
Jan-Niklas Wortmann Author

the takeUntil is applied to the inner stream and we don't want this to repeat. It is going to be recreated with the next notification coming from the fromEvent. The indention is propably a little bit missleading

oleksandr profile image

Ah, yes! Missed that it is for inner observable, thanks