await

suspend fun await(partition: Int, mark: Long, found: Boolean, idle: Duration, woken: Boolean = false): TailPacer.Pace

Waits after a poll of partition that found entries (found) or none, idle being the wait after the last empty one, woken whether a commit of this log woke the poll (and it is not behind the counter): the interval after entries found unwoken, else idle; cut short when this log commits in the partition after mark. Returns the wait after the next empty poll (the interval after entries found unwoken, idle after entries found woken, else idle doubled, up to the longest) and whether a commit cut this wait short.