It’s too bad delegated properties can’t be `suspen...
# coroutines
a
It’s too bad delegated properties can’t be
suspend
. It would be great to have a property that is backed by a
Deferred
s
I think that any property can’t be
suspend
. Only functions can be
suspend
. I could be wrong, though…
a
Properties can be suspended but they need a backing field
g
Properly cannot be suspend, it's not supported for now
But you can assign Deferred to property, so it can be used as prop.await()
a
That’s what I’m doing now, not too bad but still unfortunate