Closed jakubbilko closed 8 years ago
As requested by @hwesol13:
stop()
poll.stop(true)
removeListeners(event)
removeAllListeners()
LGTM. @hwesol13 ?
Good job! that's what i needed :) 👍
As requested by @hwesol13:
stop()
method can be called with a boolean param which allows you to remove all the previously added event listeners:poll.stop(true)
removeListeners(event)
andremoveAllListeners()
. Pretty self explanatory ;)