KStateMachine / kstatemachine

KStateMachine is a Kotlin DSL library for creating state machines and statecharts.
https://kstatemachine.github.io/kstatemachine/
Boost Software License 1.0
339 stars 19 forks source link

How to do parallel data states? #100

Closed josiahmoreno closed 1 month ago

josiahmoreno commented 2 months ago

I have a DataState that is called StateA with ChildMode.PARALLEL, how do I make sure its child datastates get the original data? I keep getting Last data is not available yet in

nsk90 commented 2 months ago

Hi, DataState can receive its data by two ways: 1) By DataEvent targeting this state 2) By default data value set on state creation point

Data is NOT propagated over DataState hierarchy in some way.

nsk90 commented 1 month ago

closing as stale