Moviri / recline

A simple but powerful library for building data applications in pure Javascript and HTML.
http://reclinejs.com/
MIT License
2 stars 2 forks source link

Asynchronous redraw call after model changes #32

Closed scriminaci closed 11 years ago

scriminaci commented 11 years ago

After a model change, are the events spread asynchronously?

scriminaci commented 11 years ago

setTimeout is not a real asynchronous execution because javascript is not multi-threaded. Web Workers do not have access to the DOM (it's not thread-safe), the window object, the document object, the parent object; so they can not be applied to redraw functions.