Converting Pipes with `filterOrFail` to Generators in Typescript - Effect Community