Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for isRunning (0.14 sec)

  1. okhttp/src/main/kotlin/okhttp3/Dispatcher.kt

        val idleCallback: Runnable?
        this.withLock {
          if (!calls.remove(call)) throw AssertionError("Call wasn't in-flight!")
          idleCallback = this.idleCallback
        }
    
        val isRunning = promoteAndExecute()
    
        if (!isRunning && idleCallback != null) {
          idleCallback.run()
        }
      }
    
      /** Returns a snapshot of the calls currently awaiting execution. */
      fun queuedCalls(): List<Call> =
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 9K bytes
    - Viewed (0)
Back to top