diff --git a/libraries/action/src/commonMain/kotlin/com/zegreatrob/coupling/action/DispatchingActionExecutor.kt b/libraries/action/src/commonMain/kotlin/com/zegreatrob/coupling/action/DispatchingActionExecutor.kt deleted file mode 100644 index 97982bbfe6..0000000000 --- a/libraries/action/src/commonMain/kotlin/com/zegreatrob/coupling/action/DispatchingActionExecutor.kt +++ /dev/null @@ -1,20 +0,0 @@ -package com.zegreatrob.coupling.action - -import com.zegreatrob.testmints.action.ExecutableAction -import com.zegreatrob.testmints.action.ExecutableActionExecuteSyntax -import com.zegreatrob.testmints.action.ExecutableActionExecutor -import com.zegreatrob.testmints.action.async.SuspendAction -import com.zegreatrob.testmints.action.async.SuspendActionExecuteSyntax -import com.zegreatrob.testmints.action.async.SuspendActionExecutor - -interface DispatchingActionExecutor : - ExecutableActionExecutor, - SuspendActionExecutor, - ExecutableActionExecuteSyntax, - SuspendActionExecuteSyntax { - - val actionDispatcher: D - - override fun invoke(action: ExecutableAction): R = actionDispatcher.execute(action) - override suspend fun invoke(action: SuspendAction): R = actionDispatcher.execute(action) -} diff --git a/server/action/src/commonTest/kotlin/com/zegreatrob/coupling/server/action/pairassignmentdocument/GameExamplesTest.kt b/server/action/src/commonTest/kotlin/com/zegreatrob/coupling/server/action/pairassignmentdocument/GameExamplesTest.kt index 3a5a92eeef..0aec24e1d7 100644 --- a/server/action/src/commonTest/kotlin/com/zegreatrob/coupling/server/action/pairassignmentdocument/GameExamplesTest.kt +++ b/server/action/src/commonTest/kotlin/com/zegreatrob/coupling/server/action/pairassignmentdocument/GameExamplesTest.kt @@ -1,7 +1,6 @@ package com.zegreatrob.coupling.server.action.pairassignmentdocument import com.benasher44.uuid.uuid4 -import com.zegreatrob.coupling.action.DispatchingActionExecutor import com.zegreatrob.coupling.action.pairassignmentdocument.AssignPinsAction import com.zegreatrob.coupling.model.flatMap import com.zegreatrob.coupling.model.map @@ -33,13 +32,11 @@ class GameExamplesTest { CreatePairCandidateReportListAction.Dispatcher, ShufflePairsAction.Dispatcher, FindNewPairsAction.Dispatcher, - DispatchingActionExecutor, NextPlayerAction.Dispatcher, AssignPinsAction.Dispatcher, CreatePairCandidateReportAction.Dispatcher, Wheel { override val wheel = this - override val actionDispatcher = this override val cannon = ActionCannon(this) }