// ets_tracing: off
import * as T from "../../../../Effect";
import * as O from "../../../../Option";
import * as RepeatEffectOption from "./repeatEffectOption";
/**
 * Creates a stream from an effect producing a value of type `A` which repeats forever.
 */

export function repeatEffect(fa) {
  return RepeatEffectOption.repeatEffectOption(T.mapError_(fa, O.some));
}
//# sourceMappingURL=repeatEffect.js.map