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