Does anyone know the reason why properties can not be suspending? My use case is protecting a value with a read/write mutex.
I know about KT-16239, but this just looks to me like the text of the error message is wrong, not the error itself.
I did some digging. The only suspend property I could find is
coroutineContext but this is a special inline property which get’s completely replaced by the compiler and just suppresses the error (which sadly does not seem to work for other properties).