https://kotlinlang.org logo
Join Slack
Powered by
# kstatemachine
  • m

    Mikhail Fedotov

    07/25/2024, 7:48 AM
    set the channel description: KStateMachine is a powerful Kotlin Multiplatform library with clean DSL syntax for creating complex state machines and statecharts driven by Kotlin Coroutines. https://github.com/KStateMachine/kstatemachine
  • m

    Mikhail Fedotov

    10/23/2024, 9:02 PM
    I am glad to share that in a new KStateMachine library release v0.32.0, state machine serialization is supported out of the box. It uses Kotlinx.serialization, and implemented by event recording mechanism. Please enjoy updated docs.
  • m

    Mikhail Fedotov

    12/23/2024, 10:25 AM
    🌟 KStateMachine v0.33.0 Released! The latest version of KStateMachine introduces enhanced export capabilities, leveraging the existing MetaInfo mechanism along with the new ExportMetaInfo type. These updates allow users to define ResolutionHints, enabling more flexible and precise export of StateMachine components. What’s New? This release makes it possible to export StateMachine parts declared within conditional lambdas that typically return a State. ResolutionHints Two types of
    ResolutionHint
    are now available: 1. `StateResolutionHint`: Lets you explicitly specify the target State, removing the need to invoke the lambda. 2. `EventAndArgumentResolutionHint`: Allows defining an Event and optional Argument to call the conditional lambda, ensuring it executes and returns a State dynamically. Learn More For detailed information, see the updated documentation: 🔗 https://kstatemachine.github.io/kstatemachine/pages/export.html#export-with-unsafecallconditionallambdas-flag Visit KStateMachine on Github 🔗 https://github.com/KStateMachine/kstatemachine
  • m

    Mikhail Fedotov

    01/14/2025, 3:59 PM
    I just published Integrating State Machines with MVI Architecture in Kotlin for Reactive Android Apps https://medium.com/p/7327c3ff34f3