DeltaStorageService Class
Provides access to the underlying delta storage on the server for routerlicious driver.
Signature
export declare class DeltaStorageService implements IDeltaStorageService
Implements: IDeltaStorageService
Constructors
Constructor | Description |
---|---|
(constructor)(url, restWrapper, logger, getRestWrapper, getDeltaStorageUrl) | Constructs a new instance of the DeltaStorageService class |
Methods
Method | Return Type | Description |
---|---|---|
get(tenantId, id, from, to) | Promise<IDeltasFetchResult> |
Constructor Details
(constructor)
Constructs a new instance of the DeltaStorageService
class
Signature
constructor(url: string, restWrapper: RestWrapper, logger: ITelemetryLogger, getRestWrapper?: () => Promise<RestWrapper>, getDeltaStorageUrl?: () => string);
Parameters
Parameter | Modifiers | Type | Description |
---|---|---|---|
url | string | ||
restWrapper | RestWrapper | ||
logger | ITelemetryLogger | ||
getRestWrapper | optional | () => Promise<RestWrapper> | |
getDeltaStorageUrl | optional | () => string |
Method Details
get
Signature
get(tenantId: string, id: string, from: number, // inclusive
to: number): Promise<IDeltasFetchResult>;
Parameters
Parameter | Type | Description |
---|---|---|
tenantId | string | |
id | string | |
from | number | |
to | number |
Returns
Return type: Promise<IDeltasFetchResult>