Combining `Effect.flatMap` and `Effect.mapBoth` for Branching Logic

If there a combinator that's like Effect.flatMap + Effect.mapBoth I essentially want to perform an Effect.tryPromise with diff options on both branches but not end up in a deeply nested situation.
Was this page helpful?