From 04ca513cc3623a2d5507d2bbab267db36604914f Mon Sep 17 00:00:00 2001 From: nathan Date: Sat, 19 Sep 2020 22:07:38 +0200 Subject: [PATCH] suppressed experimental warnings --- src/dorkbox/network/connection/Connection.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/src/dorkbox/network/connection/Connection.kt b/src/dorkbox/network/connection/Connection.kt index 7c3d2a60..5d9dd65a 100644 --- a/src/dorkbox/network/connection/Connection.kt +++ b/src/dorkbox/network/connection/Connection.kt @@ -356,6 +356,7 @@ open class Connection(connectionParameters: ConnectionParams<*>) { preCloseAction() // this always has to be on a new dispatch, otherwise we can have weird logic loops if we reconnect within a disconnect callback + @Suppress("EXPERIMENTAL_API_USAGE") endPoint.actionDispatch.launch(start = CoroutineStart.UNDISPATCHED) { // NOTE: UNDISPATCHED means that this coroutine will start as an event loop, instead of concurrently // we want this behavior INSTEAD OF automatically starting this on a new thread.