Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,478 for Receive (0.28 sec)

  1. doc/next/6-stdlib/1-time.md

    prepared before that call will be sent or received after the call.
    Earlier versions of Go used channels with a one-element buffer,
    making it difficult to use `Reset` and `Stop` correctly.
    A visible effect of this change is that `len` and `cap` of timer channels
    now returns 0 instead of 1, which may affect programs that
    poll the length to decide whether a receive on the timer channel
    will succeed.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 20:49:22 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  2. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r25/TaskProgressCrossVersionSpec.groovy

            ex.causes == [failure]
    
            and: "expected events received"
            resultsOfFirstListener.size() == 1
            resultsOfLastListener.size() == 1
    
            and: "build execution is successful"
            assertHasBuildSuccessfulLogging()
        }
    
        def "receive task progress events for successful tasks"() {
            given:
            goodCode()
            buildFile << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  3. docs/en/docs/how-to/custom-request-and-route.md

        A `Request` also has a `request.receive`, that's a function to "receive" the body of the request.
    
        The `scope` `dict` and `receive` function are both part of the ASGI specification.
    
        And those two things, `scope` and `receive`, are what is needed to create a new `Request` instance.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sun Mar 31 23:52:53 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/handling-errors.md

    If the client requests `http://example.com/items/foo` (an `item_id` `"foo"`), that client will receive an HTTP status code of 200, and a JSON response of:
    
    ```JSON
    {
      "item": "The Foo Wrestlers"
    }
    ```
    
    But if the client requests `http://example.com/items/bar` (a non-existent `item_id` `"bar"`), that client will receive an HTTP status code of 404 (the "not found" error), and a JSON response of:
    
    ```JSON
    {
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat May 18 23:43:13 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  5. src/time/sleep.go

    // it must coordinate with f explicitly.
    //
    // For a chan-based timer created with NewTimer(d), as of Go 1.23,
    // any receive from t.C after Stop has returned is guaranteed to block
    // rather than receive a stale time value from before the Stop;
    // if the program has not received from t.C already and the timer is
    // running, Stop is guaranteed to return true.
    // Before Go 1.23, the only safe way to use Stop was insert an extra
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:21:30 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  6. subprojects/core/src/main/java/org/gradle/process/internal/worker/WorkerProcessBuilder.java

     * The worker action is supplied with a {@link WorkerProcessContext} which it can use to receive messages from and send messages to the server process (ie this process).
     * </p>
     *
     * <p>The server process (ie this process) can send messages to and receive message from the worker process using the methods on {@link WorkerProcess#getConnection()}.</p>
     */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 12:13:32 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  7. subprojects/build-events/src/test/groovy/org/gradle/internal/build/event/DefaultBuildEventsListenerRegistryTest.groovy

            cleanup:
            signalBuildFinished()
        }
    
        def "listeners receive events concurrently"() {
            def listener1 = {
                thread.blockUntil.received
                instant.handled
            } as OperationCompletionListener
            def listener2 = {
                instant.received
                thread.blockUntil.handled
            } as OperationCompletionListener
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 02:21:10 UTC 2024
    - 8K bytes
    - Viewed (0)
  8. docs/en/docs/advanced/websockets.md

    ## Await for messages and send messages
    
    In your WebSocket route you can `await` for messages and send messages.
    
    ```Python hl_lines="48-52"
    {!../../../docs_src/websockets/tutorial001.py!}
    ```
    
    You can receive and send binary, text, and JSON data.
    
    ## Try it
    
    If your file is named `main.py`, run your application with:
    
    <div class="termy">
    
    ```console
    $ fastapi dev main.py
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu May 02 22:37:31 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  9. platforms/core-runtime/messaging/src/main/java/org/gradle/internal/event/ListenerManager.java

     *
     * <p>Implementations are thread-safe: A listener is notified by at most 1 thread at a time, and so do not need to be thread-safe. All listeners
     * of a given type receive events in the same order. Listeners can be added and removed at any time.
     */
    @ServiceScope(Scope.Global.class)
    public interface ListenerManager {
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 02:21:10 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  10. docs/em/docs/how-to/custom-request-and-route.md

    ```
    
    !!! note "📡 ℹ"
         `Request` ✔️ `request.scope` 🔢, 👈 🐍 `dict` ⚗ 🗃 🔗 📨.
    
         `Request` ✔️ `request.receive`, 👈 🔢 "📨" 💪 📨.
    
         `scope` `dict` &amp; `receive` 🔢 👯‍♂️ 🍕 🔫 🔧.
    
         &amp; 👈 2️⃣ 👜, `scope` &amp; `receive`, ⚫️❔ 💪 ✍ 🆕 `Request` 👐.
    
        💡 🌅 🔃 `Request` ✅ <a href="https://www.starlette.io/requests/" class="external-link" target="_blank">💃 🩺 🔃 📨</a>.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 3.6K bytes
    - Viewed (0)
Back to top