import { SubscriptionOpeningStrategy } from "./SubscriptionOpeningStrategy"; import { DocumentType } from "../DocumentAbstractions"; export interface SubscriptionWorkerOptions { subscriptionName?: string; timeToWaitBeforeConnectionRetry?: number; ignoreSubscriberErrors?: boolean; strategy?: SubscriptionOpeningStrategy; maxDocsPerBatch?: number; maxErroneousPeriod?: number; closeWhenNoDocsLeft?: boolean; documentType?: DocumentType; workerId?: string; }