Skip to main content

IDetachedBlobStorage TypeAlias

Subset of IDocumentStorageService which only supports createBlob() and readBlob(). This is used to support blobs in detached containers.

This API is deprecated and will be removed in a future release.
  • IDetachedBlobStorage will be removed in a future release without a replacement. Blobs created while detached will be stored in memory to align with attached container behavior. AB#8049
This API is provided for existing users, but is not recommended for new users.

To use, import via @fluidframework/container-loader/legacy.

For more information about our API support guarantees, see here.

Signature

export type IDetachedBlobStorage = Pick<IDocumentStorageService, "createBlob" | "readBlob"> & {
size: number;
getBlobIds(): string[];
dispose?(): void;
};