Skip to content

Commit

Permalink
wasm test
Browse files Browse the repository at this point in the history
  • Loading branch information
dsvag committed Apr 4, 2024
1 parent 9382b68 commit 866af00
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ package money.vivid.elmslie.core.config

import kotlinx.coroutines.CoroutineDispatcher
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.IO
import money.vivid.elmslie.core.logger.ElmslieLogConfiguration
import money.vivid.elmslie.core.logger.ElmslieLogger
import money.vivid.elmslie.core.logger.strategy.IgnoreLog
Expand Down Expand Up @@ -34,7 +33,7 @@ object ElmslieConfig {

init {
logger { always(IgnoreLog) }
ioDispatchers { Dispatchers.IO }
ioDispatchers { Dispatchers.Default }
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,7 @@ class ElmStore<Event : Any, State : Any, Effect : Any, Command : Any>(
private val actor: Actor<Command, out Event>,
storeListeners: Set<StoreListener<Event, State, Effect, Command>>? = null,
override val startEvent: Event? = null,
private val key: String =
(reducer::class.qualifiedName?: reducer::class.simpleName).orEmpty().replace(
"Reducer",
"Store",
),
private val key: String = reducer::class.simpleName.orEmpty().replace("Reducer", "Store"),
) : Store<Event, Effect, State> {

private val logger = ElmslieConfig.logger
Expand Down
4 changes: 2 additions & 2 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
[versions]
agp = "8.0.2"
coroutines = "1.7.1"
coroutines = "1.8.0"
dokka = "1.8.20"
kotlin = "1.9.21"
kotlin = "1.9.23"
lifecycle = "2.6.1"

[libraries]
Expand Down

0 comments on commit 866af00

Please sign in to comment.