Skip to content

Opensearch dashboards.legacyclusterclient.close

Home > opensearch-dashboards > LegacyClusterClient > close

LegacyClusterClient.close() method

Closes the cluster client. After that client cannot be used and one should create a new client instance to be able to interact with OpenSearch API.

Signature:

close(): void;

Returns:

void