kfsm icon indicating copy to clipboard operation
kfsm copied to clipboard

Provide for separate Context types for named statemaps.

Open corneil opened this issue 2 years ago • 0 comments

The push operations will provide for a Lamba to obtain the relevant context.

An example is the Packet Reader the collects a byte array for the data and the checksum. These to can be a single named state map with a push into the machine. The context will be with reference to a mutable byte array in the parent and the termination character(s). When reaching a termination character a pop will send back to the previous state in the parent.

corneil avatar May 29 '22 12:05 corneil