nulldev
12/05/2018, 8:39 AMsuspend val size: Long
get() = remoteServer.getFileSize(this)
Instead, I'm stuck with this:
suspend fun getSize() = remoteServer.getFileSize(this)
So users have to do file.getSize()
instead of just file.size
😞
There's a discussion in the forums about this but there has been no interaction from the JetBrains team. Are there any plans to support this?gildor
12/05/2018, 8:40 AMfile.size()
vs file.size
is not so much different IMO
But agree, suspend properties would be a good additionnulldev
12/05/2018, 8:40 AMget
this and set
thatbdawg.io
12/05/2018, 7:54 PMgildor
12/06/2018, 1:19 AMbdawg.io
12/06/2018, 1:28 AMremoteServer....
in the OP implementation. I was more referring to network usually being considered more costygildor
12/06/2018, 1:30 AMbdawg.io
12/06/2018, 1:49 AM