Tracking Rollback Operations in Resource Management
For resources management, the release function should return an effect without errors.
That's understandable but what can I track a rollback operation?
I want to create a series of API calls such as create -> update, what I need is to delete the entity created when updating fails and I want to track that process.
I was thinking of making a state to track this in the program but I'm unsure if this is the right approach. What do you guys recommend?
That's understandable but what can I track a rollback operation?
I want to create a series of API calls such as create -> update, what I need is to delete the entity created when updating fails and I want to track that process.
I was thinking of making a state to track this in the program but I'm unsure if this is the right approach. What do you guys recommend?
