Skip to content
This repository was archived by the owner on May 17, 2021. It is now read-only.

Conversation

gribnoysup
Copy link
Contributor

We want to expose this information so that we can check if client is connected before using any methods on it in compass plugins

…onnection status of the internal MongoClient
service.disconnect(done);
});

describe('#isConnected', () => {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what about the other way around?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Got a little lazy, added in 2eb3803

@gribnoysup gribnoysup merged commit 9a4ff05 into master Mar 30, 2021
@gribnoysup gribnoysup deleted the compass-4741-expose-is-connected-status-on-data-service branch March 30, 2021 16:14
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants