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 f9db8df commit 00343efCopy full SHA for 00343ef
packages/mongodb-runner/src/mongocluster.ts
@@ -37,6 +37,10 @@ export class MongoCluster {
37
};
38
}
39
40
+ isClosed(): boolean {
41
+ return this.servers.length === 0 && this.shards.length === 0;
42
+ }
43
+
44
static async deserialize(serialized: any): Promise<MongoCluster> {
45
const cluster = new MongoCluster();
46
cluster.topology = serialized.topology;
0 commit comments