Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for findEvent (0.03 sec)

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

          throw AssertionError("full event sequence: $fullEventSequence", e)
        }
      }
    
      inline fun <reified T : CallEvent> removeUpToEvent(): T = removeUpToEvent(T::class.java)
    
      inline fun <reified T : CallEvent> findEvent(): T = eventSequence.first { it is T } as T
    
      /**
       * Remove and return the next event from the recorded sequence.
       *
       * @param eventClass a class to assert that the returned event is an instance of, or null to
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Nov 05 18:28:35 UTC 2025
    - 4.5K bytes
    - Viewed (0)
Back to top