Leaf
    Preparing search index...

    Interface StorageInterface

    The backend storage interfaced used by StorageManager.

    interface StorageInterface {
        load(key: StorageKey): Promise<undefined | Uint8Array<ArrayBufferLike>>;
        loadRange(
            key: StorageKey,
        ): Promise<
            { data: undefined
            | Uint8Array<ArrayBufferLike>; key: StorageKey }[],
        >;
        remove(key: StorageKey): Promise<void>;
        removeRange(key: StorageKey): Promise<void>;
        save(key: StorageKey, data: Uint8Array): Promise<void>;
    }
    Index

    Methods