- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 15 for addEventListener (0.39 seconds)
-
okhttp-testing-support/src/main/kotlin/okhttp3/FailingCall.kt
override fun isExecuted(): Boolean = error("unexpected") override fun isCanceled(): Boolean = error("unexpected") override fun timeout(): Timeout = error("unexpected") override fun addEventListener(eventListener: EventListener) = error("unexpected") override fun <T : Any> tag(type: KClass<T>): T? = error("unexpected") override fun <T> tag(type: Class<out T>): T? = error("unexpected")
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Nov 05 18:28:35 GMT 2025 - 1.6K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Call.kt
* that they are not interested in. * * @see EventListener for semantics and restrictions on listener implementations. */ fun addEventListener(eventListener: EventListener) /** * Returns the tag attached with [type] as a key, or null if no tag is attached with that key. *
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Nov 05 18:28:35 GMT 2025 - 6.8K bytes - Click Count (0) -
fastapi/sse.py
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Mar 01 09:21:52 GMT 2026 - 6.2K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealCall.kt
internal val plansToCancel = CopyOnWriteArrayList<RoutePlanner.Plan>() private val tags = AtomicReference(originalRequest.tags) override fun timeout(): Timeout = timeout override fun addEventListener(eventListener: EventListener) { // Atomically replace the current eventListener with a composite one. do { val previous = this.eventListener
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Jan 11 12:06:21 GMT 2026 - 19.5K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/EventListenerTest.kt
private fun Call.addEventRecorder(eventRecorder: EventRecorder) { when (listenerInstalledOn) { ListenerInstalledOn.Call -> { addEventListener(eventRecorder.eventListener) } ListenerInstalledOn.Relay -> { addEventListener(EventListenerRelay(this, eventRecorder).eventListener) } ListenerInstalledOn.Client -> {} // listener is added elsewhere. } }
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Feb 03 22:17:59 GMT 2026 - 70.7K bytes - Click Count (0) -
docs/en/docs/js/custom.js
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 17:59:48 GMT 2026 - 7.7K bytes - Click Count (2) -
src/main/webapp/js/chat.js
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 19 01:36:02 GMT 2026 - 30.6K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/KotlinSourceModernTest.kt
override fun isExecuted(): Boolean = TODO() override fun isCanceled(): Boolean = TODO() override fun timeout(): Timeout = TODO() override fun addEventListener(eventListener: EventListener) = TODO() override fun <T : Any> tag(type: KClass<T>): T? = TODO() override fun <T> tag(type: Class<out T>): T? = TODO() override fun <T : Any> tag(Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Mar 10 21:47:20 GMT 2026 - 49.7K bytes - Click Count (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/EventListenerRelay.kt
var eventCount = 0 private fun onEvent(callEvent: CallEvent) { if (eventCount++ == 0) { eventRecorder.logEvent(callEvent) val next = EventListenerRelay(call, eventRecorder) call.addEventListener(next.eventListener) } }
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Nov 05 18:28:35 GMT 2025 - 1.5K bytes - Click Count (0) -
docs/en/docs/js/init_kapa_widget.js
document.addEventListener("DOMContentLoaded", function () { var script = document.createElement("script"); script.src = "https://widget.kapa.ai/kapa-widget.bundle.js"; script.setAttribute("data-website-id", "91f47f27-b405-4299-bf5f-a1c0ec07b3cc"); script.setAttribute("data-project-name", "FastAPI"); script.setAttribute("data-project-color", "#009485"); script.setAttribute("data-project-logo", "https://fastapi.tiangolo.com/img/favicon.png");Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Feb 18 15:26:13 GMT 2026 - 2.3K bytes - Click Count (0)