Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for dispatcherQueueStart (0.07 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/DispatcherTest.kt

        client.newCall(newRequest("http://b/2")).enqueue(callback)
        executor.assertJobs("http://a/1", "http://a/2", "http://b/1")
    
        val dispatcherQueueStart = eventRecorder.removeUpToEvent<DispatcherQueueStart>()
        assertThat(dispatcherQueueStart.call.request().url).isEqualTo("http://b/2".toHttpUrl())
        assertThat(eventRecorder.eventSequence).none { it.isInstanceOf<DispatcherQueueEnd>() }
      }
    
      @Test
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Nov 04 19:13:52 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/EventListener.kt

       * OkHttp performs concurrently.
       */
      open fun dispatcherQueueStart(
        call: Call,
        dispatcher: Dispatcher,
      ) {
      }
    
      /**
       * Invoked when [call] will be executed immediately.
       *
       * This method is invoked after [dispatcherQueueStart].
       */
      open fun dispatcherQueueEnd(
        call: Call,
        dispatcher: Dispatcher,
      ) {
      }
    
      /**
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Oct 07 21:03:04 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Dispatcher.kt

            call.failRejected()
          } else {
            call.executeOn(executorService)
          }
        }
    
        if (callDispatcherQueueStart && enqueuedCall != null) {
          enqueuedCall.call.eventListener.dispatcherQueueStart(enqueuedCall.call, this)
        }
    
        effects.idleCallbackToRun?.run()
      }
    
      /** Used by [Call.execute] to signal it is in-flight. */
      @Synchronized
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Oct 07 14:16:22 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  4. CHANGELOG.md

        use it to compose a cache URL from the query body.
    
     *  New: Publish events when calls must wait to execute. `EventListener.dispatcherQueueStart()`
        is invoked when a call starts waiting, and `dispatcherQueueEnd()` is invoked when it's done.
    
     *  New: `Request.toCurl()` returns a copy-pasteable [curl] command consistent with Chrome’s and
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Dec 05 16:02:59 UTC 2025
    - 36.2K bytes
    - Viewed (2)
Back to top