flush

fun flush(maxFrames: Int = 8)(source)

Flushes at most maxFrames queued frames, stopping at the first empty queue. Bounds transport pressure per adapter tick and releases the write guard after success or failure.