Kristian Nedrevold
03/19/2023, 7:31 PMsimon.vergauwen
03/19/2023, 7:33 PMKristian Nedrevold
03/19/2023, 7:35 PMsimon.vergauwen
03/19/2023, 7:37 PMF!
? 🤔
This should give you simply A
, https://kotlinlang.org/api/kotlinx.coroutines/kotlinx-coroutines-jdk8/kotlinx.coroutines.future/await.html.
It might return a platform type !
which means that Kotlin didn't find @NonNull
or @Nullable
and it's up to you to check the Java API and deal with potential null
coming from Java.Kristian Nedrevold
03/19/2023, 7:38 PMCLOVIS
03/20/2023, 8:53 AMKristian Nedrevold
03/20/2023, 9:10 AM