Map Exit<A,E> to Effect<A,E>
How do I map an Exit to an Effect?
I'm currently using this pattern, which seems to work:
Though I was curious if there's any more declarative way – I was expecting something like
Interestingly, almost every LLM suggests there is some
Thanks!
I'm currently using this pattern, which seems to work:
Though I was curious if there's any more declarative way – I was expecting something like
Effect.fromExit (though it doesn't quite make sense since the exit is already an effect subtype)Interestingly, almost every LLM suggests there is some
Effect.done(exit) utility, but I'm not finding any information about this.Thanks!
