"use strict";

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

var _definition = /*#__PURE__*/require("@effect/core/io/Layer/definition");

/**
 * Lazily constructs a layer. This is useful to avoid infinite recursion when
 * creating layers that refer to themselves.
 *
 * @tsplus static ets/Layer/Ops suspend
 */
function suspend(f) {
  return new _definition.ILayerSuspend(f);
}
//# sourceMappingURL=suspend.js.map