emit

expect abstract fun emit()

Writes all buffered data to the underlying sink. Like flush, but weaker (ensures data is pushed to the underlying sink but not necessarily all the way down the chain like flush does). Call before this sink goes out of scope to ensure any buffered data eventually gets to its final destination

actual abstract fun emit()

Writes all buffered data to the underlying sink. Like flush, but weaker (ensures data is pushed to the underlying sink but not necessarily all the way down the chain like flush does). Call before this sink goes out of scope to ensure any buffered data eventually gets to its final destination