override suspend fun respondOutgoingContent()

in dsl/ktor/ktor-lang/src/main/kotlin/io/kotless/dsl/ktor/app/KotlessResponse.kt [41:51]


    override suspend fun respondOutgoingContent(content: OutgoingContent) {
        try {
            super.respondOutgoingContent(content)
        } catch (e: CancellationException) {
            coroutineScope { cancel(e) }
            output.cancel(e)
            throw e
        } finally {
            output.close()
        }
    }