disconnect
suspend fun disconnect(timeout: Duration = core.context().environment().timeoutConfig().disconnectTimeout().toKotlinDuration())
Content copied to clipboard
Gives any in-flight requests a chance to complete, then disposes of resources allocated to the cluster.
Call this method when your application is ready to shut down or when you are done using the cluster.