/** * Replaces this sink's result with the provided value. * * @tsplus static effect/core/stream/Sink.Aspects as * @tsplus pipeable effect/core/stream/Sink as */ export function as(a: Z2) { return (self: Sink): Sink => self.map(() => a) }