© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
Difference between onExit and addFinalizer - Effect Community
EC
Effect Community
•
3y ago
•
15 replies
bigpopakap
Difference between onExit and addFinalizer
@Effect Bot
what is the difference between
onExit
onExit
and
addFinalizer
addFinalizer
? Please provide examples showing the differences in intended usage
Effect Community
Join
Production-grade applications in TypeScript.
6,221
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
Difference between `catchAllCause` and `catchAllDefect`
EC
Effect Community / 🚀-effect
3y ago
Difference between `collectWhile` and `filterMapEffect`
EC
Effect Community / 🚀-effect
3y ago
### Understanding the Differences Between `onExit` and `ensuring` in Effect Management
EC
Effect Community / 🚀-effect
2y ago
difference between safe and unsafe interpolation
EC
Effect Community / 🚀-effect
2y ago