Closed dlbrown06 closed 9 years ago
We've always found it best to call "next" from within the callback, just a few lines up, rather than from a setTimeout, or even if you call the timeout from within the callback if you want to avoid continuous polling, it should avoid the message you're seeing.
Wow... must be getting late in the day. Thanks for pointing that out.
Module looks great by the way.
Do you guys have plans of implementing this with callbacks so that the application running the module can make sure not to call again until the previous has returned?
Using the async module and altering the example a bit with:
After a few seconds of running I continue to get this: