From c3806ceb4bec861dcabf12e5f24e31eb95839b52 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jordan=20Bou=C3=ABllat?= Date: Fri, 19 May 2023 09:26:10 +0200 Subject: [PATCH] [Fix] Links on High-level concurrency page going to the old docs. (#201) --- content/docs/learn/coroutines/parallel.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/content/docs/learn/coroutines/parallel.md b/content/docs/learn/coroutines/parallel.md index 34ed6107..9af6b3c2 100644 --- a/content/docs/learn/coroutines/parallel.md +++ b/content/docs/learn/coroutines/parallel.md @@ -81,13 +81,13 @@ tells how many computations should be dispatched in parallel. ### Flows -The [`parMap`](https://arrow-kt.io/docs/apidocs/arrow-fx-coroutines/arrow.fx.coroutines/par-map.html) +The [`parMap`](https://apidocs.arrow-kt.io/arrow-fx-coroutines/arrow.fx.coroutines/par-map.html) function is also provided for [`Flow`](https://kotlinlang.org/api/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines.flow/). If the concurrency factor is more than 1, then inner flows are collected by this operator concurrently. When this factor is one, calling `parMap` is identical to calling `map` on the flow. Additional performance can be gained if we don't impose the same ordering on -the mapping output as the one in the source flow. Just call [`parMapUnordered`](https://arrow-kt.io/docs/apidocs/arrow-fx-coroutines/arrow.fx.coroutines/par-map-unordered.html) +the mapping output as the one in the source flow. Just call [`parMapUnordered`](https://apidocs.arrow-kt.io/arrow-fx-coroutines/arrow.fx.coroutines/par-map-unordered.html) in that case. As with `parMap`, the concurrency factor defines how many computations should be executed concurrently at most.