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

Method entries

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

Source from the content-addressed store, hash-verified

23 return this.map.size;
24 }
25 async *entries(): AsyncIterable<[TKey, TValue]> {
26 // eslint-disable-next-line prefer-const
27 for (let [key, value] of this.map.entries()) {
28 if (is.promise(value)) {
29 value = await value;
30 }
31 if (!is.nullish(value)) {
32 yield [key, value];
33 }
34 }
35 }
36 keys(): Iterator<TKey> {
37 return this.map.keys();
38 }

Callers 8

isValidMappingFunction · 0.80
membersFunction · 0.80
recursiveRenderFunction · 0.80
handleSquigglesImplMethod · 0.80
logDiagnosticsMethod · 0.80

Calls 2

promiseMethod · 0.80
nullishMethod · 0.80

Tested by

no test coverage detected