MCPcopy Index your code
hub / github.com/nodejs/node / getIterationTypesOfIterableCached

Function getIterationTypesOfIterableCached

test/fixtures/snapshot/typescript.js:83288–83290  ·  view source on GitHub ↗

* Gets the *yield*, *return*, and *next* types of an `Iterable`-like or * `AsyncIterable`-like type from the cache. * * NOTE: You probably don't want to call this directly and should be calling * `getIterationTypesOfIterable` instead.

(type, resolver)

Source from the content-addressed store, hash-verified

83286 * `getIterationTypesOfIterable` instead.
83287 */
83288 function getIterationTypesOfIterableCached(type, resolver) {
83289 return getCachedIterationTypes(type, resolver.iterableCacheKey);
83290 }
83291 function getIterationTypesOfGlobalIterableType(globalType, resolver) {
83292 var globalIterationTypes = getIterationTypesOfIterableCached(globalType, resolver) ||
83293 getIterationTypesOfIterableSlow(globalType, resolver, /*errorNode*/ undefined);

Calls 1

getCachedIterationTypesFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…