/** * Propagates the success value to the second element of a tuple, but * passes the effect input `R` along unmodified as the first element * of the tuple. * * @tsplus getter effect/core/io/Effect onSecond */ export function onSecond(self: Effect): Effect, A]> { return Effect.environment().zip(self) }