flushSync

external fun flushSync()(source)

Flushes the buffered data synchronously. This is a costly operation.