Skip to content

serialize control state #8

Closed
Closed
@sytabaresa

Description

@sytabaresa

Hi, i have a question, How a control state_ of a machine can be serialized without breaking Kingly architectural model?
I want to use Kingly in Nodejs server side and I need to load/deserialize the control state and extended state of a user session, make a transition and then unload/serialize that user state/session in a session storage, like Redis.

I know is possible in the case of extended state using the update function and initialExtendedState. but how about control state?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions