Skip to content

Commit 12e9a0e

Browse files
committed
Include startCoroutineCancellable into docs
1 parent 314945a commit 12e9a0e

File tree

1 file changed

+0
-4
lines changed
  • kotlinx-coroutines-core/src/main/kotlin/kotlinx/coroutines/experimental

1 file changed

+0
-4
lines changed

kotlinx-coroutines-core/src/main/kotlin/kotlinx/coroutines/experimental/Cancellable.kt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,17 +22,13 @@ import kotlin.coroutines.experimental.intrinsics.createCoroutineUnchecked
2222
/**
2323
* Use this function to start coroutine in a cancellable way, so that it can be cancelled
2424
* while waiting to be dispatched.
25-
*
26-
* @suppress **This is unstable API and it is subject to change.**
2725
*/
2826
internal fun <T> (suspend () -> T).startCoroutineCancellable(completion: Continuation<T>) =
2927
createCoroutineUnchecked(completion).resumeCancellable(Unit)
3028

3129
/**
3230
* Use this function to start coroutine in a cancellable way, so that it can be cancelled
3331
* while waiting to be dispatched.
34-
*
35-
* @suppress **This is unstable API and it is subject to change.**
3632
*/
3733
internal fun <R, T> (suspend (R) -> T).startCoroutineCancellable(receiver: R, completion: Continuation<T>) =
3834
createCoroutineUnchecked(receiver, completion).resumeCancellable(Unit)

0 commit comments

Comments
 (0)