Skip to content

Commit fd9ee7f

Browse files
committed
docs: fix api doc comment
1 parent 6bfadb9 commit fd9ee7f

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/sessions.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,11 @@ export interface ClientSessionOptions {
5858
snapshot?: boolean;
5959
/** The default TransactionOptions to use for transactions started on this session. */
6060
defaultTransactionOptions?: TransactionOptions;
61-
/** @internal
62-
* The value of timeoutMS used for CSOT. Used to override client timeoutMS */
61+
/**
62+
* @public
63+
* An overriding timeoutMS value to use for a client-side timeout.
64+
* If not provided the session uses the timeoutMS specified on the MongoClient.
65+
*/
6366
defaultTimeoutMS?: number;
6467

6568
/** @internal */

0 commit comments

Comments
 (0)