import * as T from "../../../../Effect";
import * as O from "../../../../Option";
import * as RepeatEffectChunkOption from "./repeatEffectChunkOption";
/**
 * Creates a stream from an effect producing chunks of `A` values which repeats forever.
 */

export function repeatEffectChunk(fa) {
  return RepeatEffectChunkOption.repeatEffectChunkOption(T.mapError_(fa, O.some));
}
//# sourceMappingURL=repeatEffectChunk.js.map