Interface AsyncStore

interface AsyncStore {
    cache?: Map<number, Resource<number>>;
    flags?: readonly "partial"[];
    label?: string;
    name: string;
    type?: number;
    uuid?: `${string}-${string}-${string}-${string}-${string}`;
    sync(): Promise<void>;
    transaction(): Transaction;
    usage(): UsageInfo;
}

Hierarchy (View Summary)

Properties

cache?: Map<number, Resource<number>>
flags?: readonly "partial"[]

Use for optimizations

label?: string

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

name: string

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

type?: number

FileSystem#id

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

A UUID for this instance of the store.

Methods