Why is there no flush function in the <kotlin.io>?...
# stdlib
z
Why is there no flush function in the kotlin.io? I think this is basic enough to be in stdlib.
I have multiplayform print but I have no multiplatform flush
i
Could you clarify when do you need to use
flush
in combination with
print
? Do you experience a situation when you print something, but the result doesn't appear because some buffer is not flushed?
z
As I am not sure about when the flushing happens in Kotlin, I would be glad to clarify that. I suppose it to happen in the same cases when it happens in Java. And there such necessity exists as there is such function.