https://kotlinlang.org logo
#coroutines
Title
# coroutines
a

altavir

03/29/2018, 5:49 PM
It is too complicated. For now solved it with extension function:
Copy code
private fun (suspend () -> Any).toValue(): (suspend () -> Value){
    return {Value.of(this.invoke())}
}