import * as tsplus_module_1 from "@effect/core/stm/STM/operations/succeed";
import * as tsplus_module_2 from "@effect/core/stm/STM/operations/flatten";
/**
 * Suspends creation of the specified transaction lazily.
 *
 * @tsplus static ets/STM/Ops suspend
 */

export function suspend(f) {
  return tsplus_module_2.flatten(tsplus_module_1.succeed(f));
}
//# sourceMappingURL=suspend.mjs.map