flush

expect abstract fun flush()

Flushes all pending write bytes making them available for read.

This function is thread-safe and can be invoked in any thread at any time. It does nothing when invoked on a closed channel.

actual abstract fun flush()

Flushes all pending write bytes making them available for read.

This function is thread-safe and can be invoked in any thread at any time. It does nothing when invoked on a closed channel.

actual abstract fun flush()

Flushes all pending write bytes making them available for read.

This function is thread-safe and can be invoked in any thread at any time. It does nothing when invoked on a closed channel.