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 dd735f1 commit 50b1ec3Copy full SHA for 50b1ec3
src/common/connectionManager.ts
@@ -112,7 +112,6 @@ export abstract class ConnectionManager {
112
}
113
114
abstract connect(settings: ConnectionSettings): Promise<AnyConnectionState>;
115
-
116
abstract disconnect(): Promise<ConnectionStateDisconnected | ConnectionStateErrored>;
117
118
@@ -130,6 +129,7 @@ export class MCPConnectionManager extends ConnectionManager {
130
129
super();
131
this.bus = bus ?? new EventEmitter();
132
this.bus.on("mongodb-oidc-plugin:auth-failed", this.onOidcAuthFailed.bind(this));
+ // eslint-disable-next-line @typescript-eslint/no-misused-promises
133
this.bus.on("mongodb-oidc-plugin:auth-succeeded", this.onOidcAuthSucceeded.bind(this));
134
this.deviceId = deviceId;
135
0 commit comments