In my process I've 3 steps :
- Upload photo in Firebase Storage
- Save data in node (mandatory)
- Save data in another node (optional)
Actually I save data with callback one by one like : step1 > step2 > step3
But if step2 fail I don't want to save anything. How can I do this ? Firebase transaction can help me ?
Upload Image and save data do that in one Single step