Skip to content

Commit bfc7d8f

Browse files
authored
Swap param descriptions for Fiber (#236)
1 parent 945a5c2 commit bfc7d8f

File tree

1 file changed

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

1 file changed

+2
-2
lines changed

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ interface Fiber<A> {
1919
/**
2020
* [Fiber] constructor.
2121
*
22-
* @param join task that will trigger the cancellation.
23-
* @param cancel task that will await for the completion of the underlying Fiber.
22+
* @param join task that will await for the completion of the underlying Fiber.
23+
* @param cancel task that will trigger the cancellation.
2424
*/
2525
operator fun <A> invoke(join: suspend () -> A, cancel: CancelToken): Fiber<A> = object : Fiber<A> {
2626
override suspend fun join(): A = join()

0 commit comments

Comments
 (0)