Milvus
Zilliz
< Docs
  • Node

closeConnection()

This operation closes the current connection to the Milvus server.

closeConnection(): Promise<CONNECT_STATUS>

Request Syntax

milvusClient.closeConnection()

RETURN TYPE:

Promise<CONNECT_STATUS>

RETURNS:

A promise that resolves to the final status of the current connection to the Milvus server, which should be SHUTDOWN.

Example

milvusClient.closeConnection()

Try Managed Milvus for Free

Zilliz Cloud is hassle-free, powered by Milvus and 10x faster.

Get Started
Feedback

Was this page helpful?