Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for EventListenerRelay (0.06 sec)

  1. okhttp-testing-support/src/main/kotlin/okhttp3/EventListenerRelay.kt

     *
     * Each instance processes a single event on [call], and then adds a successor [EventListenerRelay]
     * on the same [call] to process the next event.
     *
     * By forcing the list of listeners to change after every event, we can detect if buggy code caches
     * a stale [EventListener] in a field or local variable.
     */
    class EventListenerRelay(
      val call: Call,
      val eventRecorder: EventRecorder,
    ) {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Nov 05 18:28:35 UTC 2025
    - 1.5K bytes
    - Viewed (0)
Back to top