"use strict";

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

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

/**
 * Extends the scope of this layer, returning a new layer that when provided
 * to an effect will not immediately release its associated resources when
 * that effect completes execution but instead when the scope the resulting
 * effect depends on is closed.
 *
 * @tsplus fluent ets/Layer extendScope
 */
function extendScope(self, __tsplusTrace) {
  return new _definition.ILayerExtendScope(self);
}
//# sourceMappingURL=extendScope.js.map