Skip to main content
Version: v1

EmptyDocumentDeltaStorageService Class

Implementation of IDocumentDeltaStorageService that will always return an empty message queue when fetching messages

Signature

export declare class EmptyDocumentDeltaStorageService implements IDocumentDeltaStorageService

Implements: IDocumentDeltaStorageService

Methods

MethodReturn TypeDescription
fetchMessages(from, _to, _abortSignal, _cachedOnly, _fetchReason)IStream<ISequencedDocumentMessage[]>

Method Details

fetchMessages

Signature

fetchMessages(from: number, _to: number | undefined, _abortSignal?: AbortSignal, _cachedOnly?: boolean, _fetchReason?: string): IStream<ISequencedDocumentMessage[]>;

Parameters

ParameterModifiersTypeDescription
fromnumber
_tonumber | undefined
_abortSignaloptionalAbortSignal
_cachedOnlyoptionalboolean
_fetchReasonoptionalstring

Returns

Return type: IStream<ISequencedDocumentMessage[]>