import { ILayerExtendScope } from "@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 getter effect/core/io/Layer extendScope */ export function extendScope( self: Layer ): Layer { return new ILayerExtendScope(self) }