You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`restoreByRecordedEvents()` method will start the machine if necessary.
76
103
You can configure restoration process by `restoreByRecordedEvents()` arguments.
104
+
The machine should not process any events before its restoration (in such case exception will be thrown) as
105
+
it can possibly lead to incorrect restoration result.
77
106
78
107
See [Event recording sample](https://github.com/KStateMachine/kstatemachine/tree/master/samples/src/commonMain/kotlin/ru/nsk/samples/SerializationEventRecordingSample.kt)
Copy file name to clipboardExpand all lines: kstatemachine-serialization/src/commonMain/kotlin/ru/nsk/kstatemachine/serialization/persistence/RecordedEventsSerializer.kt
+1-6Lines changed: 1 addition & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -31,15 +31,10 @@ val KStateMachineSerializersModule = SerializersModule {
0 commit comments