Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 61 - 70 of 659 for Events (0.04 seconds)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/EventListener.kt

    import java.net.Proxy
    
    /**
     * Listener for metrics events. Extend this class to monitor the quantity, size, and duration of
     * your application's HTTP calls.
     *
     * All start/connect/acquire events will eventually receive a matching end/release event, either
     * successful (non-null parameters), or failed (non-null throwable). The first common parameters of
     * each event pair are used to link the event in case of concurrent or repeated events e.g.
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Oct 07 21:03:04 GMT 2025
    - 24.9K bytes
    - Click Count (0)
  2. fastapi/.agents/skills/fastapi/references/streaming.md

        yield ServerSentEvent(data={"status": "started"}, event="status", id="1")
        yield ServerSentEvent(data={"progress": 50}, event="progress", id="2")
    ```
    
    Use `raw_data` instead of `data` to send pre-formatted strings without JSON encoding:
    
    ```python
    yield ServerSentEvent(raw_data="plain text line", event="log")
    ```
    
    ## Stream bytes
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 01 10:05:57 GMT 2026
    - 2.5K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/eventbus/ReentrantEventsTest.java

        assertEquals(
            "ReentrantEventHater expected 2 events",
            Lists.<Object>newArrayList(FIRST, SECOND),
            hater.eventsReceived);
      }
    
      public final class ReentrantEventsHater {
        boolean ready = true;
        final List<Object> eventsReceived = new ArrayList<>();
    
        @Subscribe
        public void listenForStrings(String event) {
          eventsReceived.add(event);
          ready = false;
          try {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 26 21:52:12 GMT 2025
    - 2.6K bytes
    - Click Count (0)
  4. internal/logger/help.go

    			Optional:    true,
    			Type:        "string",
    		},
    		config.HelpKV{
    			Key:         Proxy,
    			Description: "proxy url endpoint e.g. http(s)://proxy",
    			Optional:    true,
    			Type:        "string",
    		},
    		config.HelpKV{
    			Key:         MaxRetry,
    			Description: `maximum retry count before we start dropping logged event(s)`,
    			Optional:    true,
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Sep 11 22:20:42 GMT 2024
    - 7.4K bytes
    - Click Count (0)
  5. internal/event/target/kafka.go

    func (target *KafkaTarget) SendFromStore(key store.Key) (err error) {
    	if err = target.init(); err != nil {
    		return err
    	}
    	switch {
    	case key.ItemCount == 1:
    		var event event.Event
    		event, err = target.store.Get(key)
    		if err != nil {
    			// The last event key in a successful batch will be sent in the channel atmost once by the replayEvents()
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Sep 06 23:06:30 GMT 2024
    - 13.6K bytes
    - Click Count (0)
  6. impl/maven-core/src/main/java/org/apache/maven/execution/ExecutionListener.java

        void projectDiscoveryStarted(ExecutionEvent event);
    
        void sessionStarted(ExecutionEvent event);
    
        void sessionEnded(ExecutionEvent event);
    
        void projectSkipped(ExecutionEvent event);
    
        void projectStarted(ExecutionEvent event);
    
        void projectSucceeded(ExecutionEvent event);
    
        void projectFailed(ExecutionEvent event);
    
        void mojoSkipped(ExecutionEvent event);
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2K bytes
    - Click Count (0)
  7. docs/ja/docs/tutorial/stream-json-lines.md

    {* ../../docs_src/stream_json_lines/tutorial001_py310.py ln[33:36] hl[34] *}
    
    ## Server-Sent Events (SSE) { #server-sent-events-sse }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:55:22 GMT 2026
    - 5.1K bytes
    - Click Count (0)
  8. build-tools-internal/src/test/groovy/org/elasticsearch/gradle/internal/test/rerun/executer/RerunTestResultProcessorTestSpec.groovy

            desc
        }
    
        TestStartEvent startEvent(String parentId) {
            def event = Mock(TestStartEvent)
            _ * event.getParentId() >> parentId
            event
        }
    
    //    TestFinishEvent finishEvent(String parentId) {
    //        def event = Mock(TestFinishEvent)
    //        _ * event.getParentId() >> parentId
    //        event
    //    }
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 4.9K bytes
    - Click Count (0)
  9. tests/test_no_schema_split.py

                                "body": {"type": "string", "title": "Body", "default": ""},
                                "events": {
                                    "items": {"$ref": "#/components/schemas/MessageEvent"},
                                    "type": "array",
                                    "title": "Events",
                                    "default": [],
                                },
                            },
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Feb 04 14:34:02 GMT 2026
    - 6.5K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/eventbus/StringCatcher.java

    public class StringCatcher {
      private final List<String> events = new ArrayList<>();
    
      @Subscribe
      public void hereHaveAString(@Nullable String string) {
        events.add(string);
      }
    
      public void methodWithoutAnnotation(@Nullable String string) {
        Assert.fail("Event bus must not call methods without @Subscribe!");
      }
    
      public List<String> getEvents() {
        return events;
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 1.4K bytes
    - Click Count (0)
Back to Top