Skip to content

Commit

Permalink
feat(NODE-6008): deprecate CloseOptions interface (#4030)
Browse files Browse the repository at this point in the history
Co-authored-by: Aditi Khare <106987683+aditi-khare-mongoDB@users.noreply.github.com>
Co-authored-by: Neal Beeken <neal.beeken@mongodb.com>
  • Loading branch information
3 people authored Mar 11, 2024
1 parent 36fa752 commit f6cd8d9
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/cmap/connection_pool.ts
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,11 @@ export const PoolState = Object.freeze({
closed: 'closed'
} as const);

/** @public */
/**
* @public
* @deprecated This interface is deprecated and will be removed in a future release as it is not used
* in the driver
*/
export interface CloseOptions {
force?: boolean;
}
Expand Down

0 comments on commit f6cd8d9

Please sign in to comment.