Mikhail Fedotov

Results 50 comments of Mikhail Fedotov

When I added multiplatoform support, I checked that it successfully compiles for JS target. But the second artefact (kstatemachine-coroutines) uses `runBlocking` function internally which is not supported on JS. So...

So are you going to continue with KStateMachine?

Wasm support added in https://github.com/KStateMachine/kstatemachine/releases/tag/v0.30.0 release

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...

I will start here https://github.com/KStateMachine/kstatemachine-intellij-platform-plugin

Hi! The quick reply is: Here is a code which moves the data from `DataEvent` to a `DataState` https://github.com/KStateMachine/kstatemachine/blob/master/kstatemachine/src/commonMain/kotlin/ru/nsk/kstatemachine/state/DefaultDataState.kt#L32 It is triggered in a moment of `DataState` activation. In a...

> But even if I do another problem occures. I then get the following exception: java.lang.IllegalStateException: Last data is not available yet in MyDataState($38827186), and default data not provided. I...

There should be no exception with simply using `initalChoiceState` inside data state. But the state's `data` field is not set before `initialChoiceState` lambda call. As the state is not activated...

this issue is related to https://github.com/KStateMachine/kstatemachine/issues/117, the core reason is an implicit activation of DataState. closing this one as duplicate, will still try to solve.