Join Slack
Powered by
The difference between `map` and `effectMap` is th...
# arrow
s
simon.vergauwen
02/05/2020, 10:41 AM
The difference between
map
and
effectMap
is that
effectMap
is an alias for
flatMap { IO.effect { } }
, which is of course slower since it’s capable of running
suspend (A) -> B
which is isomorphic to
flatMap
and not
map
.
6
Views
Open in Slack
Previous
Next