- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for AfterOtherTasks (0.05 seconds)
-
okhttp-testing-support/src/main/kotlin/okhttp3/internal/concurrent/TaskFaker.kt
fun advanceUntil(newTime: Long) { taskRunner.assertLockNotHeld() taskRunner.withLock { check(currentTask == TestThreadSerialTask) nanoTime = newTime yieldUntil(ResumePriority.AfterOtherTasks) } } /** Confirm all tasks have completed. Used by the test thread only. */ fun assertNoMoreTasks() { taskRunner.assertLockNotHeld() taskRunner.withLock {
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed May 28 23:28:25 GMT 2025 - 11.9K bytes - Click Count (0)