await

fun await(): Boolean

Waits, until interrupted, for all merges to complete.


fun await(timeout: Long, unit: TimeUnit): Boolean

Waits if necessary for at most the given time for all merges.