Skip to content

@yantrix/storage v0.6.0 • Docs


Yantrix API / @yantrix/storage / TInMemoryStorageAdapterProps

Type Alias: TInMemoryStorageAdapterProps<SnapshotType> ​

ts
type TInMemoryStorageAdapterProps<SnapshotType>: TStorageAdapterProps & object;

Type declaration ​

clone()? ​

ts
optional clone: (snapshot) => SnapshotType;

Parameters ​

• snapshot: SnapshotType

Returns ​

SnapshotType

initialSnapshot? ​

ts
optional initialSnapshot: SnapshotType | null;

Type Parameters ​

• SnapshotType

See ​

InMemoryStorageAdapter