File tree Expand file tree Collapse file tree 1 file changed +0
-4
lines changed
kotlinx-coroutines-core/src/main/kotlin/kotlinx/coroutines/experimental Expand file tree Collapse file tree 1 file changed +0
-4
lines changed Original file line number Diff line number Diff line change @@ -22,17 +22,13 @@ import kotlin.coroutines.experimental.intrinsics.createCoroutineUnchecked
22
22
/* *
23
23
* Use this function to start coroutine in a cancellable way, so that it can be cancelled
24
24
* while waiting to be dispatched.
25
- *
26
- * @suppress **This is unstable API and it is subject to change.**
27
25
*/
28
26
internal fun <T > (suspend () -> T ).startCoroutineCancellable(completion : Continuation <T >) =
29
27
createCoroutineUnchecked(completion).resumeCancellable(Unit )
30
28
31
29
/* *
32
30
* Use this function to start coroutine in a cancellable way, so that it can be cancelled
33
31
* while waiting to be dispatched.
34
- *
35
- * @suppress **This is unstable API and it is subject to change.**
36
32
*/
37
33
internal fun <R , T > (suspend (R ) -> T ).startCoroutineCancellable(receiver : R , completion : Continuation <T >) =
38
34
createCoroutineUnchecked(receiver, completion).resumeCancellable(Unit )
You can’t perform that action at this time.
0 commit comments