Package io.micronaut.core.util
Class KotlinUtils
java.lang.Object
io.micronaut.core.util.KotlinUtils
Internal Utility methods for working with Kotlin suspend
functions
- Since:
- 1.3.0
- Author:
- Konrad KamiĆski
-
Field Summary
Modifier and TypeFieldDescriptionstatic final Object
static final boolean
Constant indicating whether coroutines are supported. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
Kotlinsuspend
function result check.
-
Field Details
-
KOTLIN_COROUTINES_SUPPORTED
public static final boolean KOTLIN_COROUTINES_SUPPORTEDConstant indicating whether coroutines are supported. -
COROUTINE_SUSPENDED
-
-
Constructor Details
-
KotlinUtils
public KotlinUtils()
-
-
Method Details
-
isKotlinCoroutineSuspended
Kotlinsuspend
function result check.- Parameters:
obj
- object to be checked- Returns:
- True if given object is an indicating that a
suspend
function suspended.
-