Applying yield to an Either within the generator function unwraps the Either and returns underlying value in case of success
However the convenient option for typescript is to use yield* either.generator() as otherwise one may have to deal with union types
Create compound Either from generator function
Applying yield to an Either within the generator function unwraps the Either and returns underlying value in case of success However the convenient option for typescript is to use
yield* either.generator()as otherwise one may have to deal with union types