Difference between revisions of "DOM Utility Types"
From Virtual World Web Wiki
(Documentation for the DOM Utility Types class) |
(Documentation for the DOM Utility Types class) |
||
Line 4: | Line 4: | ||
===<span id="DOMLock"></span>DOMLock <span class="SectionLink">([[DOMLock|Full Article]])</span>=== | ===<span id="DOMLock"></span>DOMLock <span class="SectionLink">([[DOMLock|Full Article]])</span>=== | ||
− | |||
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. | 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. | 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. |
Revision as of 18:56, 7 April 2017
DOM Utility Types
Remarks [edit]
DOMLock (Full Article)
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".