Hello. Is it possible to have `suspend val` ? The ...
# announcements
y
Hello. Is it possible to have
suspend val
? The message in idea seems to contradict themselves :
Copy code
class Test {
    suspend val nominal:String = "nominal" // suspend is in red : Modifier 'suspend' is not applicable to 'member property without backing field or delegate'
    
    suspend val foo: String by foo() // suspend is in red : Modifier 'suspend' is not applicable to 'member property with delegate'
    suspend fun foo(): String = "foo"
}