DOM Utility Types

From Virtual World Web Wiki
Revision as of 17:43, 20 February 2017 by Spark5 (Talk | contribs) (Documentation for the DOM Utility Types class)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

DOM Utility Types

Remarks [edit]

DOMLock

Manages a lock on a DOM tree. You take a read lock along with others when you want to work with the DOM but ar ok with other users reading / writing themselves. You take a write lock when you need exclusive access to the DOM. This is meant only for serialization when a DOM snapshot must be consistent and come between updates. The lock you hold is actually on the entire DOM root document, as well as a standard monitor lock on the "LockObject".