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

Method Return Type Description
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

Parameter Modifiers Type Description
from number
_to number | undefined
_abortSignal optional AbortSignal
_cachedOnly optional boolean
_fetchReason optional string

Returns

Return type: IStream<ISequencedDocumentMessage[]>