Lifting `Effect.Effect<Option.Option<A>>` into `Effect.Effect<A, NoSuchElementException`

Hi!
How would you lift Effect.Effect<Option.Option<A>> into Effect.Effect<A, NoSuchElementException?
My solution looks cumbersome:
Effect.flatMap(flow(Option.getOrUndefined, Effect.fromNullable))

Would be nice to have a special method like Effect.some to complement existing Effect.none
Was this page helpful?