#ZIO foreachPardiscard / foreachDiscard - Die μ‹œ

Applies the function f to each element of the Iterable[A] and runs produced effects in parallel, discarding the results. For a sequential version of this method, see foreachDiscard. Optimized to avoid keeping full tree of effects, so that method could be able to handle large input sequences. Behaves almost like this code:

as.foldLeft(ZIO.unit) { (acc, a) => acc.zipParLeft(f(a)) } Additionally, interrupts all effects on any failure.

w/ .pararell(5)

config fileμ—μ„œ 컀λ„₯μ…˜ 풀을 μ‘°μ •ν•΄ DB에 μš”μ²­μ„ λ‚ λ¦¬λŠ” μ‹œκ°„μ„ μ‘°μ ˆν•  수 μžˆμ—ˆμŒ