You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/** Specifies the time an operation will run until it throws a timeout error. See {@link AbstractCursorOptions.timeoutMode} for more details. */
145
+
/** Specifies the time an operation will run until it throws a timeout error. See {@link AbstractCursorOptions.timeoutMode} for more details on how this option applies to cursors. */
146
146
timeoutMS?: number;
147
147
/**
148
148
* Specifies how `timeoutMS` is applied to the cursor. Can be either `'cursorLifeTime'` or `'iteration'`
149
149
* When set to `'iteration'`, the deadline specified by `timeoutMS` applies to each call of
150
150
* `cursor.next()`.
151
151
* When set to `'cursorLifetime'`, the deadline applies to the life of the entire cursor.
152
152
*
153
+
* Note that the use of '`cursorLifetime`' should be limited to relatively short-lived cursors as
154
+
* it has the potential to hang on an operation for the entirety of `timeoutMS`.
0 commit comments