Creates a transaction middleware, which reverts changes made by an action / child actions when the root action throws an exception by applying inverse patches.
Object with the root target model object (model) and root action name (actionName).
model
actionName
The middleware disposer.
M Model
Creates a transaction middleware, which reverts changes made by an action / child actions when the root action throws an exception by applying inverse patches.