MCPcopy
hub / github.com/microsoft/vscode-js-debug / waitUntilChildrenAre

Method waitUntilChildrenAre

src/binder.ts:677–679  ·  view source on GitHub ↗

* Returns a promise that resolves when all children this node have reached * at least the given state.

(state: TargetState)

Source from the content-addressed store, hash-verified

675 * at least the given state.
676 */
677 public async waitUntilChildrenAre(state: TargetState) {
678 await Promise.all([...this._children].map(c => c.waitUntil(state)));
679 }
680
681 /**
682 * Returns an iterator that lists all targets in the tree.

Callers 4

_terminateRootMethod · 0.80
_disconnectRootMethod · 0.80
_disconnectTargetMethod · 0.80

Calls 3

allMethod · 0.80
mapMethod · 0.80
waitUntilMethod · 0.65

Tested by

no test coverage detected