- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 45 for Closing (0.05 seconds)
-
android/guava/src/com/google/common/util/concurrent/ClosingFuture.java
* successfully cancelled step will immediately start closing all objects captured for later closing * by it and by its input steps. * * <h3>Ending a pipeline</h3> * * Each {@code ClosingFuture} pipeline must be ended. To end a pipeline, decide whether you want to * close the captured objects automatically or manually. * * <h4>Automatically closing</h4> *
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 101.7K bytes - Click Count (0) -
docs/en/docs/advanced/advanced-dependencies.md
If there are compelling use cases for early closing in dependencies with `yield`, I would consider adding a new way to opt in to early closing. ### Dependencies with `yield` and `except`, Technical Details { #dependencies-with-yield-and-except-technical-details }Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 9K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/WebSocket.kt
* * * **Open:** the web socket has been accepted by the remote peer and is fully operational. * Messages in either direction are enqueued for immediate transmission. * * * **Closing:** one of the peers on the web socket has initiated a graceful shutdown. The web * socket will continue to transmit already-enqueued messages but will refuse to enqueue new * ones. *
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Mar 10 21:45:14 GMT 2026 - 6.1K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/admin/maintenance/AdminMaintenanceAction.java
saveInfo(messages -> messages.addSuccessStartedDataUpdate(GLOBAL)); } return redirect(getClass()); } /** * Reloads the document index by closing and reopening it. * * @param form the action form (validated but not used for configuration) * @return HTML response redirecting to the maintenance page */ @Execute @Secured({ ROLE })
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 28 06:59:19 GMT 2026 - 23K bytes - Click Count (0) -
docs/en/docs/tutorial/server-sent-events.md
## Technical Details { #technical-details } FastAPI implements some SSE best practices out of the box. * Send a **"keep alive" `ping` comment** every 15 seconds when there hasn't been any message, to prevent some proxies from closing the connection, as suggested in the [HTML specification: Server-Sent Events](https://html.spec.whatwg.org/multipage/server-sent-events.html#authoring-notes). * Set the `Cache-Control: no-cache` header to **prevent caching** of the stream.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 4.6K bytes - Click Count (0) -
docs/en/docs/advanced/websockets.md
{* ../../docs_src/websockets_/tutorial002_an_py310.py hl[68:69,82] *} /// info As this is a WebSocket it doesn't really make sense to raise an `HTTPException`, instead we raise a `WebSocketException`. You can use a closing code from the [valid codes defined in the specification](https://tools.ietf.org/html/rfc6455#section-7.4.1). /// ### Try the WebSockets with dependencies { #try-the-websockets-with-dependencies }Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Mar 07 09:29:03 GMT 2026 - 5.3K bytes - Click Count (0) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/MavenSessionBuilderSupplier.java
/** * A simple {@link Supplier} of {@link SessionBuilder} instances, that on each call supplies newly * constructed instance. To create session out of builder, use {@link SessionBuilder#build()}. For proper closing * of sessions, use {@link CloseableSession#close()} method on built instance(s). * <p> * Extend this class and override methods to customize, if needed. * * @since 4.0.0Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Sat Mar 28 11:22:05 GMT 2026 - 8.1K bytes - Click Count (0) -
guava-tests/test/com/google/common/io/CharSourceTest.java
// TODO(cgdecker): Add CharSource.slice? StringBuilder builder = new StringBuilder(); Reader reader = concatenated.openStream(); // no need to worry about closing for (int i = 0; i < 8; i++) { builder.append((char) reader.read()); } assertThat(builder.toString()).isEqualTo(expected); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 11.6K bytes - Click Count (0) -
docs/en/docs/contributing.md
Think of it this way: we can already write LLM prompts or run automated tools ourselves, and that would be faster than reviewing external PRs. ### Closing Automated and AI PRs If we see PRs that seem AI generated or automated in similar ways, we'll flag them and close them. The same applies to comments and descriptions, please don't copy paste the content generated by an LLM.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Mon Mar 23 13:59:26 GMT 2026 - 10.6K bytes - Click Count (0) -
docs/en/docs/tutorial/dependencies/dependencies-with-yield.md
# Dependencies with yield { #dependencies-with-yield } FastAPI supports dependencies that do some <dfn title='sometimes also called "exit code", "cleanup code", "teardown code", "closing code", "context manager exit code", etc.'>extra steps after finishing</dfn>. To do this, use `yield` instead of `return`, and write the extra steps (code) after. /// tip Make sure to use `yield` one single time per dependency. /// /// note | Technical DetailsCreated: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 12.6K bytes - Click Count (0)