Interface AsyncStore

interface AsyncStore {
    cache?: Map<number, Resource<number>>;
    flags?: readonly "partial"[];
    id?: number;
    label?: string;
    name: string;
    clear(): void | Promise<void>;
    clearSync(): void;
    sync(): Promise<void>;
    transaction(): Transaction;
    usage(): UsageInfo;
}

Hierarchy (View Summary)

Properties

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

Use for optimizations

id?: number

FileSystem#id

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

Methods