sync

suspend fun sync()

Wait for any running merge threads to finish. This call is not interruptible as used by .close.