import { SinkInternal } from "@effect/core/stream/Sink/operations/_internal/SinkInternal" /** * A sink that always fails with the specified error. * * @tsplus static effect/core/stream/Sink.Ops fail */ export function fail(e: E): Sink { return new SinkInternal(Channel.fail(e)) }