Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for activeQueuesContainsOnlyQueuesWithScheduledTasks (0.18 seconds)

  1. okhttp/src/jvmTest/kotlin/okhttp3/internal/concurrent/TaskRunnerTest.kt

       * up when they're no longer needed and that's annoying. Instead the task runner only tracks which
       * queues have work scheduled.
       */
      @Test fun activeQueuesContainsOnlyQueuesWithScheduledTasks() {
        redQueue.execute("task one", 100.µs) {
          // Do nothing.
        }
    
        blueQueue.execute("task two", 200.µs) {
          // Do nothing.
        }
    
        taskFaker.advanceUntil(0.µs)
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Feb 03 22:17:59 GMT 2026
    - 23K bytes
    - Click Count (0)
Back to Top