API reference
Every public class, method, and event in @codexo/exojs. Generated from source.
interfaceCacheLayoutContext
@codexo/exojs / assets / stable
The store operations a CacheLayout may use, scoped to one acquisition. A layout addresses its own records by name and never composes a CacheRecordKey itself: the namespace, the source identity and the layout version are the cache's to own, and a layout that could choose them could collide with another type's records.
0
props
2
methods
0
events
Import
import { CacheLayoutContext } from '@codexo/exojs'The store operations a CacheLayout may use, scoped to one acquisition.
A layout addresses its own records by name and never composes a CacheRecordKey itself: the namespace, the source identity and the layout version are the cache's to own, and a layout that could choose them could collide with another type's records.
Methods2
Read one of this layout's records. Rejects when the store could not answer.
write(record: string, value: unknown): Promise<void>Write one of this layout's records.
Source