Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for awaitIdle (0.04 sec)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/concurrent/TaskQueue.kt

          if (scheduleAndDecide(newTask, 0L, recurrence = false)) {
            taskRunner.kickCoordinator(this)
          }
          return newTask.latch
        }
      }
    
      private class AwaitIdleTask : Task("$okHttpName awaitIdle", cancelable = false) {
        val latch = CountDownLatch(1)
    
        override fun runOnce(): Long {
          latch.countDown()
          return -1L
        }
      }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed May 28 23:28:25 UTC 2025
    - 7.3K bytes
    - Viewed (0)
Back to top