[Gradle][Minor] Make Future<T> covariant Future<out T>
KT-60159
This commit is contained in:
committed by
Space Team
parent
29d15235bb
commit
2734207b52
+1
-1
@@ -43,7 +43,7 @@ import kotlin.coroutines.suspendCoroutine
|
||||
* }
|
||||
* ```
|
||||
*/
|
||||
internal interface Future<T> {
|
||||
internal interface Future<out T> {
|
||||
suspend fun await(): T
|
||||
fun getOrThrow(): T
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user