We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0da5163 commit 415cee1Copy full SHA for 415cee1
src/main/kotlin/com/lambda/client/util/threads/CoroutineUtils.kt
@@ -4,11 +4,12 @@ import kotlinx.coroutines.CoroutineScope
4
import kotlinx.coroutines.Dispatchers
5
import kotlinx.coroutines.Job
6
import kotlinx.coroutines.newSingleThreadContext
7
+import kotlinx.coroutines.DelicateCoroutinesApi
8
9
/**
10
* Single thread scope to use in Lambda
11
*/
-@Suppress("EXPERIMENTAL_API_USAGE")
12
+@OptIn(DelicateCoroutinesApi::class)
13
val mainScope = CoroutineScope(newSingleThreadContext("Lambda Main"))
14
15
0 commit comments