import { ILayerSuspend } from "@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 effect/core/io/Layer.Ops suspend */ export function suspend( f: LazyArg> ): Layer { return new ILayerSuspend(f) }