diff --git a/core/ui/src/commonMain/kotlin/club/nito/core/ui/StateMachine.kt b/core/ui/src/commonMain/kotlin/club/nito/core/ui/StateMachine.kt new file mode 100644 index 00000000..3d918a7a --- /dev/null +++ b/core/ui/src/commonMain/kotlin/club/nito/core/ui/StateMachine.kt @@ -0,0 +1,12 @@ +package club.nito.core.ui + +import kotlinx.coroutines.CoroutineScope +import kotlinx.coroutines.Dispatchers +import kotlinx.coroutines.SupervisorJob + +/** + * [StateMachine] + */ +public open class StateMachine { + public val stateMachineScope: CoroutineScope = CoroutineScope(SupervisorJob() + Dispatchers.Main.immediate) +}