Use explicit public visibility in kotlin-runtime.
This commit is contained in:
@@ -19,17 +19,17 @@ package kotlin.coroutines
|
||||
/**
|
||||
* Interface representing a continuation after a suspension point that returns value of type `P`
|
||||
*/
|
||||
interface Continuation<in P> {
|
||||
public interface Continuation<in P> {
|
||||
/**
|
||||
* Resumes the execution of the corresponding coroutine passing `data` as the return value of the last suspension point
|
||||
*/
|
||||
fun resume(data: P)
|
||||
public fun resume(data: P)
|
||||
|
||||
/**
|
||||
* Resumes the execution of the corresponding coroutine so that the `exception` is re-thrown right after the
|
||||
* last suspension point
|
||||
*/
|
||||
fun resumeWithException(exception: Throwable)
|
||||
public fun resumeWithException(exception: Throwable)
|
||||
}
|
||||
|
||||
|
||||
@@ -38,4 +38,4 @@ interface Continuation<in P> {
|
||||
*/
|
||||
@Target(AnnotationTarget.CLASS)
|
||||
@Retention(AnnotationRetention.BINARY)
|
||||
annotation class AllowSuspendExtensions
|
||||
public annotation class AllowSuspendExtensions
|
||||
|
||||
Reference in New Issue
Block a user