Join Slack
Communities
Powered by
What is the recommended way of doing parallell pro...
# arrow
m
Marius Kotsbak
01/20/2021, 1:40 PM
What is the recommended way of doing parallell processing with Arrow now? Kotlin's async? I see parTraverse gives IO, which I though would be replaced by coroutines/suspend now?
s
stojan
01/20/2021, 4:16 PM
there is
parTraverse
for
Iterable
working with
suspend
stojan
01/20/2021, 4:16 PM
https://github.com/arrow-kt/arrow-fx/blob/46be81d3e83385043d817fe3401b201f46d5e57a[…]x-coroutines/src/main/kotlin/arrow/fx/coroutines/ParTraverse.kt
stojan
01/20/2021, 4:16 PM
note that this is under
arrow-fx-coroutines
module
👍 1
m
Marius Kotsbak
01/20/2021, 9:32 PM
Ah, thanks, will try :)
Marius Kotsbak
01/21/2021, 1:59 PM
It compiles, so then I assume parTraverse also works (as in Scala) : )
3
Views
Open in Slack
Previous
Next