AbstractProtected_Protected ReadonlyloggerProtected ReadonlymarkerProtected ReadonlymarkerProtectednodesProtected ReadonlyonReadonlyonEmits when the busy state of the given node is changed.
Protected ReadonlyonReadonlyonAn update to the tree node occurred, but the tree structure remains unchanged
Protected ReadonlyonProtected ReadonlyonProtected ReadonlytoProtectedtoEmit when the tree is changed.
Emit when the children of the given node are refreshed.
ProtectedaddProtectedcreateProtectedcreateDispose this object.
ProtecteddoProtecteddoProtecteddoProtectedfireProtectedfireProtectedgetReturn a node for the given identifier or undefined if such does not exist.
ProtectedgetProtectedinsertMarks the give node as busy after a specified number of milliseconds. A token source of the given token should be canceled to unmark.
Refresh children of the root node.
Return a valid refreshed composite root or undefined if such does not exist.
Optionalraw: CompositeTreeNodeOptionalcancellationToken: CancellationTokenProtectedrefreshRemove the given node and all of its descendants from the tree's internal id-to-node index. Safe to call on already-detached subtrees.
Callers that mutate the tree structure directly via
CompositeTreeNode.removeChild should invoke this (or pass the tree
to removeChild) to keep getNode and validateNode from
returning orphaned nodes.
ProtectedresolveProtectedset
A default implementation of the tree.