- Sort Score
- Num 10 results
- Language All
Results 61 - 70 of 407 for fsevents (0.06 seconds)
-
okhttp/src/jvmTest/kotlin/okhttp3/internal/http/CancelTest.kt
cancelLatch.await() val events = eventRecorder.eventSequence.filter { isConnectionEvent(it) }.map { it.name } eventRecorder.clearAllEvents() assertThat(events).startsWith("CallStart", "ConnectStart", "ConnectEnd", "ConnectionAcquired") if (cancelMode == CANCEL) { assertThat(events).contains("Canceled") } else { assertThat(events).doesNotContain("Canceled") }Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Nov 04 19:13:52 GMT 2025 - 9.4K bytes - Click Count (0) -
docs/de/docs/tutorial/stream-json-lines.md
## Server-Sent Events (SSE) { #server-sent-events-sse }Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:48:21 GMT 2026 - 4.9K bytes - Click Count (0) -
android/guava/src/com/google/common/eventbus/AsyncEventBus.java
/** * An {@link EventBus} that takes the Executor of your choice and uses it to dispatch events, * allowing dispatch to occur asynchronously. * * @author Cliff Biffle * @since 10.0 */ public class AsyncEventBus extends EventBus { /** * Creates a new AsyncEventBus that will use {@code executor} to dispatch events. Assigns {@code * identifier} as the bus's name for logging purposes. *Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 21 03:10:51 GMT 2024 - 2.5K bytes - Click Count (0) -
okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourceRecorder.kt
class EventSourceRecorder : EventSourceListener() { private val events = LinkedBlockingDeque<Any>() private var cancel = false fun enqueueCancel() { cancel = true } override fun onOpen( eventSource: EventSource, response: Response, ) { get().log("[ES] onOpen", Platform.INFO, null) events.add(Open(eventSource, response)) drainCancelQueue(eventSource) }
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sat Aug 30 11:32:52 GMT 2025 - 3.2K bytes - Click Count (0) -
internal/bucket/lifecycle/evaluator.go
if e.lockRetention != nil && e.lockRetention.LockEnabled { event = Event{} } else { // No need to evaluate remaining versions' lifecycle // events after DeleteAllVersionsAction* events[i] = event break loop } case DeleteVersionAction, DeleteRestoredVersionAction: // Defensive code, should never happen if obj.VersionID == "" {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Apr 08 15:41:24 GMT 2025 - 4.6K bytes - Click Count (0) -
src/test/java/jcifs/audit/SecurityAuditLoggerTest.java
Map<EventType, Long> statsBefore = logger.getStatistics(); assertTrue(statsBefore.get(EventType.AUTHENTICATION_SUCCESS) > 0, "Should have authentication events before reset"); assertTrue(statsBefore.get(EventType.FILE_ACCESS) > 0, "Should have file access events before reset"); logger.resetStatistics(); Map<EventType, Long> statsAfter = logger.getStatistics();Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 8.6K bytes - Click Count (0) -
fastapi/.agents/skills/fastapi/references/streaming.md
```python @app.get("/items/stream") async def stream_items() -> AsyncIterable[Item]: for item in items: yield item ``` ## Server-Sent Events (SSE) To stream Server-Sent Events, use `response_class=EventSourceResponse` and `yield` items from the endpoint. Plain objects are automatically JSON-serialized as `data:` fields, declare the return type so the serialization is done by Pydantic:
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) -
src/test/java/jcifs/internal/witness/WitnessEnumTest.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 09:06:40 GMT 2025 - 6.1K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/Listener.java
import org.apache.maven.api.annotations.Consumer; import org.apache.maven.api.annotations.Experimental; import org.apache.maven.api.annotations.Nonnull; /** * A listener for session events. * TODO: open this to other events like similar to {@code org.apache.maven.eventspy.EventSpy} * * @since 4.0.0 */ @Experimental @FunctionalInterface @Consumer public interface Listener {Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Mar 23 05:29:39 GMT 2023 - 1.2K bytes - Click Count (0) -
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)