Type Definition steno::ActionResult
source · pub type ActionResult = Result<Arc<Value>, ActionError>;
Expand description
Result of a saga action
In this generic Action interface, actions return a pretty generic
serde_json::Value
. This is something that we can store uniformly,
serialize to the log, and deserialize into a more specific type when the
consumer asks for that. (By contrast, the ActionFunc
impl is a little
fancier. It allows consumers to return anything that can be serialized.
That’s why consumers should prefer that interface and not this one.)