Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for sender (0.15 sec)

  1. doc/go_spec.html

    begins. Communication blocks until the send can proceed.
    A send on an unbuffered channel can proceed if a receiver is ready.
    A send on a buffered channel can proceed if there is room in the buffer.
    A send on a closed channel proceeds by causing a <a href="#Run_time_panics">run-time panic</a>.
    A send on a <code>nil</code> channel blocks forever.
    </p>
    
    <pre>
    ch &lt;- 3  // send value 3 to channel ch
    </pre>
    
    
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu May 02 22:43:51 GMT 2024
    - 279.6K bytes
    - Viewed (0)
  2. docs/en/docs/release-notes.md

    For example:
    
    ```Python
    from fastapi import Cookie, FastAPI, Header, Path, Query
    
    app = FastAPI()
    
    
    @app.get("/items/{item_id}")
    def main(
        item_id: int = Path(default=..., gt=0),
        query: str = Query(default=..., max_length=10),
        session: str = Cookie(default=..., min_length=3),
        x_trace: str = Header(default=..., title="Tracing header"),
    ):
        return {"message": "Hello World"}
    ```
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri May 03 23:25:42 GMT 2024
    - 388.1K bytes
    - Viewed (1)
Back to top