Is there a way to start or stop the program? Eg to stop if not in view on a scrolling website. I would propose to use the closure pattern on the `run` function and to return `start` `stop` and `reset` methods from there.
Is there a way to start or stop the program?
Eg to stop if not in view on a scrolling website.
I would propose to use the closure pattern on the
runfunction and to returnstartstopandresetmethods from there.