async-polling
async-polling copied to clipboard
An easy way to run reliable polling without messing with setTimeout.
 Usage of `util.inherits()` is discouraged. Please use the ES6 class and extends keywords to get language level inheritance support. Also note that the two styles are semantically incompatible. [Link](https://nodejs.org/docs/latest/api/util.html#util_util_inherits_constructor_superconstructor)...
It would be nice to be able to provide arguments to the polling function. For instance, we could write a polling to retrieve the private messages of a user on...
We sometimes need to stop the polling from within `pollingFunc`. Currently, there are two ways of solving this. - If the polling instance is available inside the polling function, we...