shutdown Suspend
suspend fun shutdownSuspend(timeout: Duration = timeoutConfig().disconnectTimeout().toKotlinDuration())
Content copied to clipboard
Shuts down this environment. Does the same thing as shutdown, but suspends instead of blocking.
This should be the very last operation in the SDK shutdown process, after all clients sharing this environment have disconnected.
Note that once shut down, the environment cannot be restarted.