We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 945a5c2 commit bfc7d8fCopy full SHA for bfc7d8f
arrow-libs/fx/arrow-fx-coroutines/src/main/kotlin/arrow/fx/coroutines/Fiber.kt
@@ -19,8 +19,8 @@ interface Fiber<A> {
19
/**
20
* [Fiber] constructor.
21
*
22
- * @param join task that will trigger the cancellation.
23
- * @param cancel task that will await for the completion of the underlying Fiber.
+ * @param join task that will await for the completion of the underlying Fiber.
+ * @param cancel task that will trigger the cancellation.
24
*/
25
operator fun <A> invoke(join: suspend () -> A, cancel: CancelToken): Fiber<A> = object : Fiber<A> {
26
override suspend fun join(): A = join()
0 commit comments