Skip to main content
Version: v1

StaticStorageDocumentService Class

Signature

export declare class StaticStorageDocumentService implements IDocumentService

Implements: IDocumentService

Constructors

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

Properties

PropertyTypeDescription
resolvedUrlIResolvedUrl

Methods

MethodReturn TypeDescription
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

ParameterTypeDescription
storageIDocumentStorageService

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

ParameterTypeDescription
clientIClient

Returns

Return type: Promise<IDocumentDeltaConnection>

connectToStorage

Signature

connectToStorage(): Promise<IDocumentStorageService>;

Returns

Return type: Promise<IDocumentStorageService>

dispose

Signature

dispose(): void;