If I create a timer() with one execution like:
timer(1000).subscribe(() => console.log("some logging"));
do I need to unsubscribe?
The docs say:
If period is not specified, the output Observable emits only one value
so, as far as i learned about RxJS yet, I guess, that timer() might be completed after the execution. But I am not quite sure. There is not marble diagram, which shows an completed timer().
NOTE
I am not asking about how to unsubscribe; I need to know if a timer() without a given period completes and does not need to be unsubscribed.