Friday, 3 August 2018

SetInterval does not work with callback functions?

I have a function that reads a file and callbacks its contents. It is called bysetInterval( function() { readevents(data); //Does stuff with data }) However, it spits outReferenceError: data is not definedThanks in advance!

Submitted August 03, 2018 at 08:32AM by Garlicvideos

No comments:

Post a Comment