Skip to content

Store

Defined in: src/backends/store/store.ts:21

Represents a key-value store.

readonly optional flags?: readonly "partial"[]

Defined in: src/backends/store/store.ts:57

Use for optimizations


readonly optional label?: string

Defined in: src/backends/store/store.ts:37

A name for this instance of the store. For example, you might use a share name for a network-based store


readonly name: string

Defined in: src/backends/store/store.ts:31

What the file system using this store should be called. For example, tmpfs for an in memory store


readonly optional type?: number

Defined in: src/backends/store/store.ts:25

FileSystem#id


readonly optional uuid?: `${string}-${string}-${string}-${string}-${string}`

Defined in: src/backends/store/store.ts:42

A UUID for this instance of the store.

sync(): Promise<void>

Defined in: src/backends/store/store.ts:47

Syncs the store

Promise<void>


transaction(): Transaction

Defined in: src/backends/store/store.ts:52

Begins a new transaction.

Transaction


optional usage(): UsageInfo

Defined in: src/backends/store/store.ts:62

Usage information for the store

UsageInfo