Skip to content

API reference > @kontsedal/olas-core > DebugCacheEntry

DebugCacheEntry type ​

Snapshot of one live cache entry — produced by root.debug.queryEntries() so devtools panels can show *current data*, not just past fetch events.

Signature:

typescript
type DebugCacheEntry = {
  queryId: string;
  key: readonly unknown[];
  status: 'idle' | 'pending' | 'success' | 'error';
  data: unknown;
  error: unknown;
  lastUpdatedAt: number | undefined;
  isStale: boolean;
  isFetching: boolean;
  hasPendingMutations: boolean;
  subscribers?: number;
};

Released under the MIT License.