// ets_tracing: off
import * as CK from "../../../../Collections/Immutable/Chunk";
import * as T from "../../../../Effect";
import * as RepeatEffectChunkOption from "./repeatEffectChunkOption";
/**
 * Creates a stream from an effect producing values of type `A` until it fails with None.
 */

export function repeatEffectOption(fa) {
  return RepeatEffectChunkOption.repeatEffectChunkOption(T.map_(fa, CK.single));
}
//# sourceMappingURL=repeatEffectOption.js.map