"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.failCause = failCause;

var _primitives = /*#__PURE__*/require("@effect/core/stream/Channel/definition/primitives");

/**
 * Halt a channel with the specified cause.
 *
 * @tsplus static ets/Channel/Ops failCause
 */
function failCause(cause) {
  return new _primitives.Fail(cause);
}
//# sourceMappingURL=failCause.js.map