/** * Creates a sink halting with the specified defect. * * @tsplus static effect/core/stream/Sink.Ops dieSync */ export function dieSync(defect: LazyArg): Sink { return Sink.failCauseSync(Cause.die(defect())) }