Effect Constructor for Handling Values and Effects in Unison
is there any Effect constructor that take a value or an effect, if this is a value return a Effect.succeed on that value, and if it's an effect, then return the effect ? https://effect.website/play#d0bb83f05f08
I have this case so many time, I start to map a discriminated union, but at some point, I need an effect, and I need to wrap all the other case in an effect too to unify
I have this case so many time, I start to map a discriminated union, but at some point, I need an effect, and I need to wrap all the other case in an effect too to unify
