type alias CollectionCache

Collection cache returned by collectionCache()

Type Parameters

Properties

getAll: () => Promise<T[]>
invalidate: () => void
size: () => number

Usage

import { type CollectionCache } from "doc.ts";