From 071fe9916dbd6d646c6fbccd40a2e1261981a08c Mon Sep 17 00:00:00 2001 From: Joffrey Bion Date: Wed, 25 Mar 2020 12:13:49 +0100 Subject: Migrate @UseExperimental to @OptIn --- .../kotlin/org/luxons/sevenwonders/ui/redux/sagas/SagasFramework.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sw-ui-kt/src/main') diff --git a/sw-ui-kt/src/main/kotlin/org/luxons/sevenwonders/ui/redux/sagas/SagasFramework.kt b/sw-ui-kt/src/main/kotlin/org/luxons/sevenwonders/ui/redux/sagas/SagasFramework.kt index fddaf85c..dc31f41a 100644 --- a/sw-ui-kt/src/main/kotlin/org/luxons/sevenwonders/ui/redux/sagas/SagasFramework.kt +++ b/sw-ui-kt/src/main/kotlin/org/luxons/sevenwonders/ui/redux/sagas/SagasFramework.kt @@ -15,7 +15,7 @@ import redux.MiddlewareApi import redux.RAction import kotlin.coroutines.coroutineContext -@UseExperimental(ExperimentalCoroutinesApi::class) +@OptIn(ExperimentalCoroutinesApi::class) class SagaManager( private val monitor: ((A) -> Unit)? = null ) { @@ -64,7 +64,7 @@ class SagaManager( } } -@UseExperimental(FlowPreview::class, ExperimentalCoroutinesApi::class) +@OptIn(FlowPreview::class, ExperimentalCoroutinesApi::class) class SagaContext( private val reduxApi: MiddlewareApi, private val actions: BroadcastChannel ) { -- cgit