import { SinkInternal } from "@effect/core/stream/Sink/operations/_internal/SinkInternal" /** * Creates a sink halting with a specified cause. * * @tsplus static effect/core/stream/Sink.Ops failCause */ export function failCause(cause: Cause): Sink { return new SinkInternal(Channel.failCause(cause)) }