import { Fail } from "@effect/core/stream/Channel/definition/primitives" /** * Halt a channel with the specified cause. * * @tsplus static effect/core/stream/Channel.Ops failCause */ export function failCause( cause: Cause ): Channel { return new Fail(() => cause) }