MCPcopy Create free account
hub / github.com/deepnote/vscode-deepnote / forEach

Method forEach

src/platform/common/utils/map.ts:770–778  ·  view source on GitHub ↗
(key: K, fn: (value: V) => void)

Source from the content-addressed store, hash-verified

768 }
769
770 forEach(key: K, fn: (value: V) => void): void {
771 const values = this.map.get(key);
772
773 if (!values) {
774 return;
775 }
776
777 values.forEach(fn);
778 }
779
780 get(key: K): ReadonlySet<V> {
781 const values = this.map.get(key);

Callers 15

gulpfile.jsFile · 0.45
checkPackageVersionsFunction · 0.45
checkPackageDependenciesFunction · 0.45
computePropertyForTypeFunction · 0.45
visitFunction · 0.45
generateDocumentationFunction · 0.45
generateTelemetryCSVFunction · 0.45
generateTelemetryGdprFunction · 0.45
disposeMethod · 0.45

Calls 1

getMethod · 0.65

Tested by 11

assertOutputContainsHtmlFunction · 0.36
waitForOutputFunction · 0.36
whenKnownEnvironmentsFunction · 0.36
onIOPubFunction · 0.36
createKernelFunction · 0.36
initializeFunction · 0.36
cloneWithAppropriateCaseFunction · 0.36
verifyKernelsFunction · 0.36
verifyGlobalKernelSpecFunction · 0.36
executeCellWithOutputFunction · 0.36