-
Notifications
You must be signed in to change notification settings - Fork 6
Closed
Labels
enhancementNew feature or requestNew feature or requeststateful-apiissues / PRs related to the stateful APIissues / PRs related to the stateful API
Description
In the Stateful.ReqResp example we need to pass req resp in MsgResp.
MsgResp :: Typeable resp
=> req resp
-> resp -- ^ respond
-> Message (ReqResp req) (StBusy resp) StIdle
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).
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requeststateful-apiissues / PRs related to the stateful APIissues / PRs related to the stateful API