/** * Maps the success value of this effect to the specified constant value. * * @tsplus static effect/core/io/Effect.Aspects as * @tsplus pipeable effect/core/io/Effect as */ export function as(value: B) { return (self: Effect): Effect => self.map(() => value) }