Combining Errors in Effect Typescript

Hello everyone, does anyone knows if there is any combinator that combines errors at the same time?

Like
const record: Record<MyKeys, Effect<string, Error>> = { keyOne: ..., keyTwo:... }

type Expected: Effect<
  Record<MyKeys, string>,
  Partial<Record<MyKeys, Error>>,
>


const expected: Expected = Effect.all(record).pipe(???)

Thanks in advance.
I am trying foreach, validate, validateAll
Was this page helpful?