William Bradee
Posts: 0
Joined: Thu Oct 03, 2013 8:45 pm

Server Code sleep function

Server code JavaScript is synchronous programming model -- for instance query, get response, inline with no callbacks.

So it supports blocking

Would be nice to have a sleep function so I could add polling and periodic tasks on the server.

Polling on server eliminates complexity and extra network traffic on the client.

Periodic tasks would allow me to age out data without initiating something from a client (e.g. only keep 7 days of history).

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

Server Code sleep function

We are working on adding a feature where you can schedule jobs (tasks to run).

Return to “Issues”