(f: (t: T) => T2)
| 77 | this.run = run |
| 78 | } |
| 79 | map<T2>(f: (t: T) => T2): Getter<T2, E, R> { |
| 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 |