Ist es möglich, "thread" Javascript-und halten Zugriff auf das UI?

Möchte ich den thread etwas Javascript-code, während beide die wichtigsten Prozess-und thread frei zum aktualisieren der browser-Benutzeroberfläche.

Beispiel:

function StartStuff() {
    StartThreadedCode();
    //do more work and update the UI while StartThreadedCode() does its work
}

function StartThreadedCode() {
    //do stuff (do work and update the UI)
}

Ist es möglich?

InformationsquelleAutor TERACytE | 2011-10-26
Schreibe einen Kommentar