Searched refs:removeFirstIf (Results 1 – 4 of 4) sorted by relevance
51 public inline fun removeFirstIf(predicate: (T) -> Boolean): T? = synchronized(this) { in <lambda>() method in kotlinx.coroutines.internal.ThreadSafeHeap
100 val current = queue.removeFirstIf { it.time <= targetTime } ?: break in <lambda>()
206 val current = queue.removeFirstIf { it.time <= targetTime } ?: break in <lambda>()
263 delayed.removeFirstIf { in processNextEvent()