(other: Getter<T2, T, R2>)
| 80 | return new Getter((oe, options) => this.run(oe, options).pipe(Effect.mapEager(Option.map(f)))) |
| 81 | } |
| 82 | compose<T2, R2>(other: Getter<T2, T, R2>): Getter<T2, E, R | R2> { |
| 83 | if (isPassthrough(this)) { |
| 84 | return other as any |
| 85 | } |
| 86 | if (isPassthrough(other)) { |
| 87 | return this as any |
| 88 | } |
| 89 | return new Getter((oe, options) => this.run(oe, options).pipe(Effect.flatMapEager((ot) => other.run(ot, options)))) |
| 90 | } |
| 91 | } |
| 92 | |
| 93 | /** |
nothing calls this directly
no test coverage detected