mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
21 lines
536 B
Kotlin
21 lines
536 B
Kotlin
package com.jetbrains.lsp.implementation
|
|
|
|
import com.jetbrains.lsp.protocol.NotificationType
|
|
import com.jetbrains.lsp.protocol.RequestType
|
|
|
|
interface LspClient {
|
|
suspend fun <Params, Result, Error> request(
|
|
requestType: RequestType<Params, Result, Error>,
|
|
params: Params,
|
|
): Result
|
|
|
|
fun <Params> notifyAsync(
|
|
notificationType: NotificationType<Params>,
|
|
params: Params,
|
|
)
|
|
|
|
suspend fun <Params> notify(
|
|
notificationType: NotificationType<Params>,
|
|
params: Params,
|
|
)
|
|
} |