Type alias CacheOutcome

CacheOutcome: "miss" | "partial" | "hit"

A metadata flag set by cache exchanges to indicate whether a cache miss, a cache hit, or a partial cache hit has occurred.


A cache exchange may update cacheOutcome on meta to indicate whether an operation has been resolved from the cache.

A cache hit is considered a result that has fully come from a cache. A partial result is a result that has come from a cache but is incomplete, which may trigger another API request. A cache miss means a result must be requested from the API as no cache result has been delivered.

Generated using TypeDoc