Skip to content

Commit 0a85e9c

Browse files
authored
Fix broken Semaphore example (#256)
1 parent a6a05c8 commit 0a85e9c

File tree

1 file changed

+2
-0
lines changed
  • arrow-libs/fx/arrow-fx-coroutines/src/main/kotlin/arrow/fx/coroutines

1 file changed

+2
-0
lines changed

arrow-libs/fx/arrow-fx-coroutines/src/main/kotlin/arrow/fx/coroutines/Semaphore.kt

+2
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,8 @@ import arrow.core.Either
5353
* You can also use it to limit amount of parallel tasks, for example when using `parTraverse` we might want to limit how many tasks are running effectively in parallel.
5454
*
5555
* ```kotlin:ank:playground
56+
* import arrow.fx.coroutines.*
57+
*
5658
* suspend fun heavyProcess(i: Int): Unit {
5759
* println("Started job $i")
5860
* sleep(250.milliseconds)

0 commit comments

Comments
 (0)