Skip to content
PACKAGES

tieredReadThrough()

Build explicit lookup facts across tiers plus optional loader fallback (D104 layer 1).

This is a passive storage/domain helper: it creates no graph nodes, performs no hydration or restore, and treats promotion writes as facts rather than a graph commit barrier.

import { tieredReadThrough } from "@graphrefly/ts/storage";
function tieredReadThrough(opts: TieredReadThroughOptions<T>): Promise<TieredReadThroughResult<T>>
ParameterTypeDescription
optsTieredReadThroughOptions<T>Options that configure the helper.

A Promise<TieredReadThroughResult<T>> value.

import { tieredReadThrough } from "@graphrefly/ts/storage";

packages/ts/src/storage/read-through.ts