@configurator/ravendb
Version:
RavenDB client for Node.js
14 lines (13 loc) • 514 B
TypeScript
import { SubscriptionOpeningStrategy } from "./SubscriptionOpeningStrategy";
import { DocumentType } from "../DocumentAbstractions";
export interface SubscriptionWorkerOptions<T extends object> {
subscriptionName?: string;
timeToWaitBeforeConnectionRetry?: number;
ignoreSubscriberErrors?: boolean;
strategy?: SubscriptionOpeningStrategy;
maxDocsPerBatch?: number;
maxErroneousPeriod?: number;
closeWhenNoDocsLeft?: boolean;
documentType?: DocumentType<T>;
workerId?: string;
}