import * as tsplus_module_1 from "@effect/core/io/Effect/operations/yieldNow";
import * as tsplus_module_2 from "@effect/core/io/Effect/operations/zipRight";
export const forever = forever_1;
/**
 * Repeats this effect forever (until the first error).
 *
 * @tsplus fluent ets/Effect forever
 */

function forever_1(effect, __tsplusTrace) {
  return tsplus_module_2.zipRight_(tsplus_module_2.zipRight_(effect, () => tsplus_module_1.yieldNow, __tsplusTrace), () => forever_1(effect, __tsplusTrace), __tsplusTrace);
}
//# sourceMappingURL=forever.mjs.map