toggle menu
OpenSRP
androidJvm
switch theme
search in API
engine
/
org.smartregister.fhircore.engine.util
/
forEachAsync
for
Each
Async
suspend
fun
<
T
>
Iterable
<
T
>
.
forEachAsync
(
action
:
suspend
(
T
)
->
Unit
)
Launch a new coroutine for each loop iteration using async.
Parameters
T
the type of elements in the iterable