Skip to content

Commit f6cd8d9

Browse files
W-A-Jamesaditi-khare-mongoDBnbbeeken
authored
feat(NODE-6008): deprecate CloseOptions interface (#4030)
Co-authored-by: Aditi Khare <[email protected]> Co-authored-by: Neal Beeken <[email protected]>
1 parent 36fa752 commit f6cd8d9

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/cmap/connection_pool.ts

+5-1
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,11 @@ export const PoolState = Object.freeze({
118118
closed: 'closed'
119119
} as const);
120120

121-
/** @public */
121+
/**
122+
* @public
123+
* @deprecated This interface is deprecated and will be removed in a future release as it is not used
124+
* in the driver
125+
*/
122126
export interface CloseOptions {
123127
force?: boolean;
124128
}

0 commit comments

Comments
 (0)