ENGLISH·COURSE API
    Preparing search index...

    A store whose objects can be copied in and out and removed.

    Deliberately NOT part of BlobStore. The application only ever reads content; writing exists for one caller, scripts/move-content.ts, and keeping it off the read interface means no request path can reach it.

    interface TransferableBlobStore {
        readBytes(objectPath: string): Promise<Uint8Array<ArrayBufferLike>>;
        write(objectPath: string, body: Uint8Array): Promise<void>;
        remove(objectPath: string): Promise<void>;
    }

    Implemented by

    Index

    Methods

    • Reads an object's raw bytes, for copying it to another store.

      Parameters

      • objectPath: string

      Returns Promise<Uint8Array<ArrayBufferLike>>