/** * Returns a lazily constructed effect, whose construction may itself require * effects. The effect must not throw any exceptions. When no environment is * required (i.e., when `R == unknown`) it is conceptually equivalent to * `flatten(succeed(effect))`. If you wonder if the effect throws * exceptions, do not use this method, use `suspend`. * * @tsplus static effect/core/io/Effect.Ops suspendSucceed */ export function suspendSucceed( effect: LazyArg> ): Effect { return Effect.sync(effect).flatMap(identity) }