[]previous and next page

CacheOptions

Options of cache.

Options of cache.

Import#

ts
import type { CacheOptions } from "@shadow-js/core";

Signature#

ts
interface CacheOptions {
  /**
   * Most results kept per scope (one root); the oldest is dropped first. A positive integer.
   * @default 100
   */
  limit?: number;
}

Members#

Name Type Description
limit? limit?: number Most results kept per scope (one root); the oldest is dropped first. A positive integer.