Skip to content

AsyncStore

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

optional cache?: Map<number, Resource<number>>

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


readonly optional flags?: readonly "partial"[]

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

Use for optimizations

Store.flags


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

Store.label


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

Store.name


readonly optional type?: number

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

FileSystem#id

Store.type


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

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

A UUID for this instance of the store.

Store.uuid

sync(): Promise<void>

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

Syncs the store

Promise<void>

Store.sync


transaction(): Transaction

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

Begins a new transaction.

Transaction

Store.transaction


optional usage(): UsageInfo

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

Usage information for the store

UsageInfo

Store.usage