Skip to main content
Version: v1

StaticStorageDocumentService Class

Signature

export declare class StaticStorageDocumentService implements IDocumentService

Implements: IDocumentService

Constructors

Constructor Description
(constructor)(storage) Constructs a new instance of the StaticStorageDocumentService class

Properties

Property Type Description
resolvedUrl IResolvedUrl

Methods

Method Return Type Description
connectToDeltaStorage() Promise<IDocumentDeltaStorageService>
connectToDeltaStream(client) Promise<IDocumentDeltaConnection>
connectToStorage() Promise<IDocumentStorageService>
dispose() void

Constructor Details

(constructor)

Constructs a new instance of the StaticStorageDocumentService class

Signature

constructor(storage: IDocumentStorageService);

Parameters

Parameter Type Description
storage IDocumentStorageService

Property Details

resolvedUrl

Signature

get resolvedUrl(): IResolvedUrl;

Type: IResolvedUrl

Method Details

connectToDeltaStorage

Signature

connectToDeltaStorage(): Promise<IDocumentDeltaStorageService>;

Returns

Return type: Promise<IDocumentDeltaStorageService>

connectToDeltaStream

Signature

connectToDeltaStream(client: IClient): Promise<IDocumentDeltaConnection>;

Parameters

Parameter Type Description
client IClient

Returns

Return type: Promise<IDocumentDeltaConnection>

connectToStorage

Signature

connectToStorage(): Promise<IDocumentStorageService>;

Returns

Return type: Promise<IDocumentStorageService>

dispose

Signature

dispose(): void;