import * as tsplus_module_1 from "@effect/core/io/Schedule/operations/recurWhileEffect";
import * as tsplus_module_2 from "@effect/core/io/Schedule/operations/collectAllFrom";
/**
 * A schedule that recurs as long as the effectful condition holds, collecting
 * all inputs into a list.
 *
 * @tsplus static ets/Schedule/Ops collectWhileEffect
 */

export function collectWhileEffect(f) {
  return tsplus_module_2.collectAllFrom(tsplus_module_1.recurWhileEffect(f));
}
//# sourceMappingURL=collectWhileEffect.mjs.map