Understanding the Difference Between `ensuring` and `addFinalizer`

Hello! I've tried searching on discord but I didn't quite find what I was looking for. I was curious of the difference between ensuring and addFinalizer. Are both relatively the same and ensuring effects do not need to rely on the underliyng exit? Let me know if there is a resource I somehow missed to better understand both
Was this page helpful?