Say there's a node that listens to a Timer's timeout signal, this node conditionally stops and starts this timer. Messing around I noticed that this can be achieved either by starting/stopping the timer, or by connecting/disconnecting from this signal.
I would assume that using timer.start()
and timer.stop()
makes the code more readable. I'm just wondering if there are any advantages or disadvantages on manipulating the signal listener instead of using the Timer's methods.