import { ISuspend } from "@effect/core/io/Effect/definition/primitives";
/**
 * 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 ets/Effect/Ops suspendSucceed
 */

export function suspendSucceed(effect, __tsplusTrace) {
  return new ISuspend(effect, __tsplusTrace);
}
//# sourceMappingURL=suspendSucceed.mjs.map