Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 12 for addEventListener (0.11 seconds)

  1. fastapi/sse.py

                """
            ),
        ] = None
        event: Annotated[
            str | None,
            Doc(
                """
                Optional event type name.
    
                Maps to `addEventListener(event, ...)` on the browser. When omitted,
                the browser dispatches on the generic `message` event.
                """
            ),
        ] = None
        id: Annotated[
            str | None,
    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)
  2. 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)
  3. 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)
  4. docs/en/docs/js/custom.js

                    resolve();
                } else {
                    img.addEventListener('load', () => {
                        if (img.naturalHeight !== 0) {
                            resolve();
                        } else {
                            reject();
                        }
                    });
                    img.addEventListener('error', reject);
                }
            });
        });
    
    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)
  5. src/main/webapp/js/chat.js

                    }
                }
            });
    
            eventSource.addEventListener('sources', function(e) {
                var data = JSON.parse(e.data);
                if (data.sources && data.sources.length > 0 && messageElement) {
                    addSourcesToMessage(messageElement, data.sources);
                }
            });
    
            eventSource.addEventListener('done', function(e) {
                var data = JSON.parse(e.data);
    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)
  6. 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)
  7. 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)
  8. build-logic/binary-compatibility/src/main/groovy/gradlebuild/EnrichedReportRenderer.groovy

            """
        }
    
        private static String buildAutoSelectSeverityFilter() {
            // language=javascript
            return """
                <script type="text/javascript">
                    document.addEventListener("DOMContentLoaded", function(event) {
                        // run after the report's own JavaScript based filtering logic
                        setTimeout(function() {
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Jan 22 12:18:18 GMT 2026
    - 7K bytes
    - Click Count (0)
  9. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleJavadocsPlugin.java

                        "}" +
                        "applyTheme(mql.matches);" +
                        "mql.addEventListener('change', function(e) { applyTheme(e.matches); });" +
                        "})();" +
                        "</script>" +
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Sun Mar 01 05:52:34 GMT 2026
    - 11.6K bytes
    - Click Count (0)
  10. okhttp/api/jvm/okhttp.api

    public final class okhttp3/CacheControl$Companion {
    	public final fun parse (Lokhttp3/Headers;)Lokhttp3/CacheControl;
    }
    
    public abstract interface class okhttp3/Call : java/lang/Cloneable {
    	public abstract fun addEventListener (Lokhttp3/EventListener;)V
    	public abstract fun cancel ()V
    	public abstract fun clone ()Lokhttp3/Call;
    	public abstract fun enqueue (Lokhttp3/Callback;)V
    	public abstract fun execute ()Lokhttp3/Response;
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Mar 10 21:47:20 GMT 2026
    - 72.3K bytes
    - Click Count (0)
Back to Top