DeltaStorageService Class

Packages > @fluidframework/routerlicious-driver > DeltaStorageService

Provides access to the underlying delta storage on the server for routerlicious driver.

Signature:

export declare class DeltaStorageService implements IDeltaStorageService 

Implements: IDeltaStorageService

Constructors

List of constructors for this class
Constructor Modifiers Description
(constructor)(url, tokenProvider) Constructs a new instance of the DeltaStorageService class

Methods

List of methods on this class
Method Modifiers Description
get(tenantId, id, from, to)

Constructors

DeltaStorageService.(constructor)

Constructs a new instance of the DeltaStorageService class

Signature:

constructor(url: string, tokenProvider: ITokenProvider);

Parameters

List of parameters
Parameter Type Description
url string
tokenProvider ITokenProvider

Methods

get

Signature:

get(tenantId: string, id: string, from?: number, to?: number): Promise<api.ISequencedDocumentMessage[]>;

Parameters

List of parameters
Parameter Type Description
tenantId string
id string
from number
to number

Returns:

Promise<api.ISequencedDocumentMessage[]>