MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / cacheKey

Function cacheKey

packages/react/src/lib/integrations-sh-catalog.ts:387–388  ·  view source on GitHub ↗
(input: CatalogQuery)

Source from the content-addressed store, hash-verified

385}
386
387const cacheKey = (input: CatalogQuery): string =>
388 `${input.kind ?? "all"}:${input.limit ?? 0}:${input.query}`;
389/** Responses are cached for as long as the registry says they are fresh, and
390 * no longer. The first version of this cache had no expiry at all, so a
391 * session that searched once kept that answer for its whole life — a registry

Callers 2

requestKeyOfFunction · 0.70
useCatalogBrowseFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected