MCPcopy Create free account
hub / github.com/microsoft/vscode-cpptools / values

Method values

Extension/src/Utility/Async/map.ts:39–48  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

37 return this.map.keys();
38 }
39 async *values(): AsyncIterable<TValue > {
40 for (let value of this.map.values()) {
41 if (is.promise(value)) {
42 value = await value;
43 }
44 if (!is.nullish(value)) {
45 yield value;
46 }
47 }
48 }
49
50 [Symbol.asyncIterator](): AsyncIterable<[TKey, TValue]> {
51 return this.entries();

Callers 4

combinerFunction · 0.80
preReleaseCheckFunction · 0.80
recreateClientsMethod · 0.80
processCommandMethod · 0.80

Calls 2

promiseMethod · 0.80
nullishMethod · 0.80

Tested by

no test coverage detected