Skip to main content

IRuntimeStorageService Interface

Interface to provide access to snapshot blobs to DataStore layer. \

This API is provided for existing users, but is not recommended for new users.

To use, import via @fluidframework/runtime-definitions/legacy.

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

Signature

export interface IRuntimeStorageService

Methods

Method Alerts Return Type Description
readBlob(id) Beta Promise<ArrayBufferLike> Reads the object with the given ID, returns content in arrayBufferLike

Method Details

readBlob

Reads the object with the given ID, returns content in arrayBufferLike

This API is provided for existing users, but is not recommended for new users.

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

Signature
readBlob(id: string): Promise<ArrayBufferLike>;

Parameters

Parameter Type Description
id string

Returns

Return type: Promise<ArrayBufferLike>