This is more a question about coroutines than Arro...
# arrow
d
This is more a question about coroutines than Arrow, but e.g.
parMap
has a context parameter which is set to
EmptyCoroutineContext
by default, does this mean the outer context is lost or does it just mean that by default, it does not do any further specialization of the outer context?
a
no, that means that the context is preserved by convention, all the
CoroutineContext
-aware functions merge the new context with the actual one (everything in
kotlinx.coroutines
works in that way)
👍 2