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
Alejandro Serrano.Mena
02/09/2024, 12:59 PM
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