The setTimeout() and setInterval() functions are for web browsers,
whereas JSDB is a procedural programming language. If you want to run
code periodically, you can use system.sleep() function to delay.
var running = true
while (running)
{
doSomething()
system.sleep(1000)
}
For Web Workers, start by looking at the grid programming toolkit,
with which you could extended (add message tracking) implement Web
Workers, which set up to run like cofunctions, whereas the JSDB grid
was set up to do fault-tolerant parallel computing. http://www.jsdb.org/grid.zip
Shanti
On Dec 17, 9:41 pm, MindstormsKid <mindstorm...@gmail.com> wrote:
> Hi, I was wondering if (and when) JSDB will support Web Workers
> (http://enwp.org/Web_worker)?And is there any timer support