// ets_tracing: off
import * as T from "../../../../Effect";
import * as M from "../../../../Managed";
import * as RunReduceWhileManagedEffect from "./runReduceWhileManagedEffect";
/**
 * Executes an effectful fold over the stream of values.
 */

export function runReduceEffect_(self, s, f) {
  return M.use_(RunReduceWhileManagedEffect.runReduceWhileManagedEffect_(self, s, _ => true, f), T.succeed);
}
/**
 * Executes an effectful fold over the stream of values.
 *
 * @ets_data_first runReduceEffect_
 */

export function runReduceEffect(s, f) {
  return self => runReduceEffect_(self, s, f);
}
//# sourceMappingURL=runReduceEffect.js.map