diff options
author | Joffrey Bion <joffrey.bion@booking.com> | 2020-03-25 12:13:49 +0100 |
---|---|---|
committer | Joffrey Bion <joffrey.bion@booking.com> | 2020-03-27 10:59:39 +0100 |
commit | 071fe9916dbd6d646c6fbccd40a2e1261981a08c (patch) | |
tree | b31bb50513248cc19eb9c44cc523d4382079f442 /sw-ui-kt/src/main | |
parent | Fix krossbow common artifact (diff) | |
download | seven-wonders-071fe9916dbd6d646c6fbccd40a2e1261981a08c.tar.gz seven-wonders-071fe9916dbd6d646c6fbccd40a2e1261981a08c.tar.bz2 seven-wonders-071fe9916dbd6d646c6fbccd40a2e1261981a08c.zip |
Migrate @UseExperimental to @OptIn
Diffstat (limited to 'sw-ui-kt/src/main')
-rw-r--r-- | sw-ui-kt/src/main/kotlin/org/luxons/sevenwonders/ui/redux/sagas/SagasFramework.kt | 4 |
1 files changed, 2 insertions, 2 deletions
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<S, A : RAction, R>( private val monitor: ((A) -> Unit)? = null ) { @@ -64,7 +64,7 @@ class SagaManager<S, A : RAction, R>( } } -@UseExperimental(FlowPreview::class, ExperimentalCoroutinesApi::class) +@OptIn(FlowPreview::class, ExperimentalCoroutinesApi::class) class SagaContext<S, A : RAction, R>( private val reduxApi: MiddlewareApi<S, A, R>, private val actions: BroadcastChannel<A> ) { |