import * as tsplus_module_1 from "@effect/core/stream/Stream/operations/runFoldWhileScopedEffect";
/**
 * Executes an effectful fold over the stream of values. Returns a scoped
 * value that represents the scope of the stream.
 *
 * @tsplus fluent ets/Stream runFoldScopedEffect
 */

export function runFoldScopedEffect_(self, s, f, __tsplusTrace) {
  return tsplus_module_1.runFoldWhileScopedEffect_(self, s, () => true, f, __tsplusTrace);
}
/**
 * Executes an effectful fold over the stream of values. Returns a scoped
 * value that represents the scope of the stream.
 *
 * @tsplus static ets/Stream/Aspects runFoldScopedEffect
 */

export const runFoldScopedEffect = (s, f, __tsplusTrace) => self => runFoldScopedEffect_(self, s, f, __tsplusTrace);
//# sourceMappingURL=runFoldScopedEffect.mjs.map