Opensearch dashboards.icustomclusterclient.close
Home > opensearch-dashboards > ICustomClusterClient > close
ICustomClusterClient.close property
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: () => Promise<void>;