Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for wasm (0.14 sec)

  1. docs/de/docs/tutorial/background-tasks.md

    **FastAPI** weiß, was jeweils zu tun ist und wie dasselbe Objekt wiederverwendet werden kann, sodass alle Hintergrundtasks zusammengeführt und anschließend im Hintergrund ausgeführt werden:
    
    === "Python 3.10+"
    
        ```Python hl_lines="13  15  22  25"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Jan 12 14:15:29 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/background-tasks.md

        ```Python hl_lines="13  15  22  25"
        {!> ../../../docs_src/background_tasks/tutorial002.py!}
        ```
    
    In this example, the messages will be written to the `log.txt` file *after* the response is sent.
    
    If there was a query in the request, it will be written to the log in a background task.
    
    And then another background task generated at the *path operation function* will write a message using the `email` path parameter.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Oct 17 05:59:11 GMT 2023
    - 5.6K bytes
    - Viewed (0)
Back to top