Update coroutine related runtime parts

This commit is contained in:
Denis Zharkov
2016-12-09 13:04:22 +03:00
committed by Stanislav Erokhin
parent 852a5ee064
commit 72401efb9f
6 changed files with 39 additions and 102 deletions
+1 -1
View File
@@ -37,4 +37,4 @@ package kotlin.coroutines
* Use [runWithCurrentContinuation] as a safer way to obtain current continuation instance.
*/
@SinceKotlin("1.1")
public inline suspend fun <T> maySuspendWithCurrentContinuation(body: (Continuation<T>) -> Any?): T
public inline suspend fun <T> suspendWithCurrentContinuation(body: (Continuation<T>) -> Any?): T