It isn't sent over the wire, but it's useful to have access to it when encoding / decoding resp.
We should extend the stateful API, so that not only State StIdle is provided (state data for the target state), but also State (StBusy resp) (state data for the initial state).
In the
Stateful.ReqResp
example we need to passreq resp
inMsgResp
.It isn't sent over the wire, but it's useful to have access to it when encoding / decoding
resp
. We should extend the stateful API, so that not onlyState StIdle
is provided (state data for the target state), but alsoState (StBusy resp)
(state data for the initial state).