Skip to main content
Version: v2

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​

MethodAlertsReturn TypeDescription
readBlob(id)BetaPromise<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​

ParameterTypeDescription
idstring

Returns​

Return type: Promise<ArrayBufferLike>