KStateMachine / kstatemachine

KStateMachine is a powerful Kotlin Multiplatform library with clean DSL syntax for creating complex state machines and statecharts driven by Kotlin Coroutines.
https://kstatemachine.github.io/kstatemachine/
Boost Software License 1.0
358 stars 21 forks source link

Think about type safe argument passing #17

Closed nsk90 closed 3 years ago

nsk90 commented 3 years ago

Currently argument passing is not type safe, but it seems to be a nice feature to pass data between states in type safe way

In this case state should declare types which it consumes and maybe provides.

nsk90 commented 3 years ago

merged typesafe transitions in ee1a3f36