We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 21ca884 commit 53274dcCopy full SHA for 53274dc
src/cmap/connection.ts
@@ -139,6 +139,7 @@ export interface ConnectionOptions
139
tls: boolean;
140
noDelay?: boolean;
141
socketTimeoutMS?: number;
142
+ /** @internal */
143
cancellationToken?: CancellationToken;
144
metadata: ClientMetadata;
145
/** @internal */
src/mongo_types.ts
@@ -473,8 +473,7 @@ export class TypedEventEmitter<Events extends EventsDescription> extends EventEm
473
}
474
475
/**
476
- * @public
477
- * @deprecated Will be removed in favor of `AbortSignal` in the next major release.
+ * @internal
478
*/
479
export class CancellationToken extends TypedEventEmitter<{ cancel(): void }> {
480
constructor(...args: any[]) {
0 commit comments