Hi, I was wondering how would I do atomic operations.
I have an Effect.gen that calls two effects: one that inserts post details in my database, and the other that put the post image in my S3 bucket. With that, I want either everything to succeed, or everything be removed like it never happened. From what I saw I could use a Scoped function and .acquireRelease? And if so I read that the release Effect musn’t have errors? But if that’s the case, how would I do for a delete operation to my database for example? Because it could still have errors