Interface ReplicateEventsOptions<K, V, QueryExt>

Options of a replicateEvents call.

interface ReplicateEventsOptions {
    batchSize?: number;
    extra?: QueryExt;
    limit?: number;
    signal?: AbortSignal;
    since?: K[];
    source: EventStoreQuery<K, V, QueryExt>;
    target: AutoKeyMapPutBatch<K, V> & MaybeAsyncReadonlySetBatch<K>;
}

Type Parameters

  • K

  • V

  • QueryExt extends object

Hierarchy

Properties

batchSize?: number

Number of events to push at a time.

extra?: QueryExt

Extra query parameters to filter events.

limit?: number

Maximum number of events to replicate.

signal?: AbortSignal

An optional AbortSignal that can be used to abort an async task.

since?: K[]

Last checkpoint to start replication from.

source: EventStoreQuery<K, V, QueryExt>

Local event store to replicate from.

Remote event store to replicate to.

Generated using TypeDoc