toggle menu
foundry
jvm
switch theme
search in API
foundry-common
/
foundry.common
/
parallelMap
parallel
Map
inline suspend
fun
<
A
,
B
>
Iterable
<
A
>
.
parallelMap
(
parallelism
:
Int
,
start
:
CoroutineStart
=
CoroutineStart.DEFAULT
,
crossinline
mapper
:
suspend
(
A
)
->
B
)
:
List
<
B
>
(
source
)
Applies a given
mapper
function in parallel over this
Iterable
with a given
parallelism
.