OneMergeProgress
class OneMergeProgress
Progress and state for an executing merge. This class encapsulates the logic to pause and resume the merge thread or to abort the merge entirely.
Functions
Link copied to clipboard
suspend fun pauseNanos(initialPauseNanos: Long, reason: MergePolicy.OneMergeProgress.PauseReason, condition: () -> Boolean)
Pauses the calling thread for at least pauseNanos nanoseconds unless the merge is aborted or the external condition returns false, in which case control returns immediately.
Link copied to clipboard