We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 743462b + 6987685 commit d5ceca0Copy full SHA for d5ceca0
1 file changed
StateMachine/StateMachine.swift
@@ -22,6 +22,8 @@ public protocol StateMachineSchemaType {
22
23
var initialState: State { get }
24
var transitionLogic: (State, Event) -> (State, (Subject -> ())?)? { get }
25
+
26
+ init(initialState: State, transitionLogic: (State, Event) -> (State, (Subject -> ())?)?)
27
}
28
29
0 commit comments