From 5f8443b94a94c6fc5cdecf2c91d89b48e3eb6598 Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Thu, 12 Mar 2020 13:16:04 +0100 Subject: Remove some experimental annotations --- .../src/jvmMain/kotlin/pl/treksoft/kvision/remote/KVServiceManager.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'kvision-modules/kvision-server-javalin/src/jvmMain/kotlin/pl/treksoft/kvision/remote') diff --git a/kvision-modules/kvision-server-javalin/src/jvmMain/kotlin/pl/treksoft/kvision/remote/KVServiceManager.kt b/kvision-modules/kvision-server-javalin/src/jvmMain/kotlin/pl/treksoft/kvision/remote/KVServiceManager.kt index e6428524..e3189a74 100644 --- a/kvision-modules/kvision-server-javalin/src/jvmMain/kotlin/pl/treksoft/kvision/remote/KVServiceManager.kt +++ b/kvision-modules/kvision-server-javalin/src/jvmMain/kotlin/pl/treksoft/kvision/remote/KVServiceManager.kt @@ -53,8 +53,7 @@ import kotlin.reflect.KClass /** * Multiplatform service manager for Javalin. */ -@Suppress("LargeClass", "TooManyFunctions") -@OptIn(ExperimentalCoroutinesApi::class) +@Suppress("LargeClass", "TooManyFunctions", "BlockingMethodInNonBlockingContext") actual open class KVServiceManager actual constructor(val serviceClass: KClass) { companion object { @@ -389,6 +388,7 @@ actual open class KVServiceManager actual constructor(val serviceClass: * @param function a function of the receiver * @param route a route */ + @OptIn(ExperimentalCoroutinesApi::class) protected actual inline fun bind( noinline function: suspend T.(ReceiveChannel, SendChannel) -> Unit, route: String? -- cgit