mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
We want to remove ktor dependency from the lsp.protocol module as it conflicts with other uses. The module has a single usage of ktor, its i/o utils types: ByteReadChannel and ByteWriteChannel. These are now replaced by requivalent interfaces. In this patch, ktor dependency is still present and implements the aforementioned interfaces in this same module, but the goal is to move the implementation into module consumers. GitOrigin-RevId: 62681cd01c54b00cab7e17682fe6858db01d4186
14 lines
215 B
Kotlin
14 lines
215 B
Kotlin
package com.jetbrains.lsp.implementation
|
|
|
|
import org.jetbrains.annotations.TestOnly
|
|
|
|
interface LspConnection {
|
|
val input: ByteReader
|
|
val output: ByteWriter
|
|
|
|
@TestOnly
|
|
fun isAlive(): Boolean
|
|
fun close()
|
|
}
|
|
|