Exit represents the outcome of running an IO effect.
Readonly
Flat maps the success value
Pattern matches over the Exit
Optional
Type guard to check if this is a Failure
Type guard to check if this is Interrupted
Type guard to check if this is a Success
Maps the success value
Maps both error and success values
Maps the error value
Pattern matches over the Exit with object patterns
Returns the success value or a default
Returns the success value or throws
Converts to Either (Right for Success, Left for Failure) Throws if Interrupted
JSON serialization
Converts to Option (Some for Success, None otherwise)
String representation
Returns the raw value for inspection
Exit represents the outcome of running an IO effect.