pumpRunLoop

fun pumpRunLoop(iterations: Int = 5, intervalSeconds: Double = 0.05)

Pumps the NSRunLoop to allow UIKit and Compose to process pending layout, rendering, and recomposition work.