@resolveio/server-lib 20.14.8 → 20.14.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -103,6 +103,8 @@ export declare class MongoManager {
103
103
  collections(): MongoManagerCollection<CollectionDocument>[];
104
104
  collection(collectionName: string): MongoManagerCollection<CollectionDocument> | MongoManagerUserCollection<CollectionDocument>;
105
105
  private delay;
106
+ private shouldRetryWaitQueueTimeout;
107
+ private retryRead;
106
108
  find<T extends CollectionDocument>(collectionName: string, filter?: MongoManagerFilter<T> & MongoManagerFilterOperators<T>, options?: FindOptions<T>): Promise<T[]>;
107
109
  private executeFind;
108
110
  findOne<T extends CollectionDocument>(collectionName: string, filter?: MongoManagerFilter<T> | MongoManagerFilterOperators<T>, options?: FindOptions<T>): Promise<T>;
@@ -160,8 +162,10 @@ export declare class MongoManagerCollection<T extends CollectionDocument> {
160
162
  initialize(options: MongoManagerCollectionOptions): void;
161
163
  extractIndexNameFromError(errorMessage: any): any;
162
164
  private shouldRetryWriteConflict;
165
+ private shouldRetryWaitQueueTimeout;
163
166
  private delay;
164
167
  private retryWrite;
168
+ private retryRead;
165
169
  aggregate(pipeline: object[], options?: AggregateOptions, skipCache?: boolean, bypassSession?: boolean): Promise<any[]>;
166
170
  aggregateCount(pipeline: object[], options?: AggregateOptions, bypassSession?: boolean): Promise<number>;
167
171
  aggregateCursor(pipeline: object[], options?: AggregateOptions, bypassSession?: boolean): AggregationCursor;