mirai-core / net.mamoe.mirai.network / closeAndJoin

closeAndJoin

suspend fun BotNetworkHandler.closeAndJoin(cause: Throwable? = null): Unit