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 failSync */ export function failSync(e: LazyArg): Sink { return new SinkInternal(Channel.failSync(e)) }