Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for synchronous (0.23 sec)

  1. docs/em/docs/async.md

    `await` 👷, ⚫️ ✔️ 🔘 🔢 👈 🐕‍🦺 👉 🔀. 👈, 👆 📣 ⚫️ ⏮️ `async def`:
    
    ```Python hl_lines="1"
    async def get_burgers(number: int):
        # Do some asynchronous stuff to create the burgers
        return burgers
    ```
    
    ...↩️ `def`:
    
    ```Python hl_lines="2"
    # This is not asynchronous
    def get_sequential_burgers(number: int):
        # Do some sequential stuff to create the burgers
        return burgers
    ```
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 18.7K bytes
    - Viewed (0)
  2. docs/en/docs/async.md

    ## Technical Details
    
    Modern versions of Python have support for **"asynchronous code"** using something called **"coroutines"**, with **`async` and `await`** syntax.
    
    Let's see that phrase by parts in the sections below:
    
    * **Asynchronous Code**
    * **`async` and `await`**
    * **Coroutines**
    
    ## Asynchronous Code
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 23K bytes
    - Viewed (0)
  3. docs/ko/docs/async.md

    ```Python hl_lines="1"
    async def get_burgers(number: int):
        # Do some asynchronous stuff to create the burgers
        return burgers
    ```
    
    ...`def`를 사용하는 대신:
    
    ```Python hl_lines="2"
    # This is not asynchronous
    def get_sequential_burgers(number: int):
        # Do some sequential stuff to create the burgers
        return burgers
    ```
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 26.7K bytes
    - Viewed (0)
  4. docs/fr/docs/async.md

    place, en étant "asynchrone", une fois terminée, une tâche peut légèrement attendre (quelques microsecondes) que l'ordinateur / le programme finisse ce qu'il était en train de faire, et revienne récupérer le résultat.
    
    Pour parler de tâches "synchrones" (en opposition à "asynchrones"), on utilise souvent le terme "séquentiel", car l'ordinateur / le programme va effectuer toutes les étapes d'une tâche séquentiellement avant de passer à une autre tâche, même si ces étapes impliquent de l'attente....
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sun Mar 31 23:52:53 GMT 2024
    - 24K bytes
    - Viewed (0)
  5. docs/ja/docs/async.md

    # 並行処理と async / await
    
    *path operation 関数*のための `async def` に関する詳細と非同期 (asynchronous) コード、並行処理 (Concurrency)、そして、並列処理 (Parallelism) の背景について。
    
    ## 急いでいますか?
    
    <abbr title="too long; didn't read (長すぎて読めない人のための要約という意味のスラング)"><strong>TL;DR:</strong></abbr>
    
    次のような、`await` を使用して呼び出すべきサードパーティライブラリを使用している場合:
    
    ```Python
    results = await some_library()
    ```
    
    以下の様に `async def` を使用して*path operation 関数*を宣言します。
    
    ```Python hl_lines="2"
    @app.get('/')
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 27.8K bytes
    - Viewed (0)
  6. docs/es/docs/async.md

    ```Python hl_lines="1"
    async def get_burgers(number: int):
        # Do some asynchronous stuff to create the burgers
        return burgers
    ```
    
    ...en vez de `def`:
    
    ```Python hl_lines="2"
    # This is not asynchronous
    def get_sequential_burgers(number: int):
        # Do some sequential stuff to create the burgers
        return burgers
    ```
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 24.9K bytes
    - Viewed (0)
  7. docs/zh/docs/async.md

    要使 `await` 工作,它必须位于支持这种异步机制的函数内。因此,只需使用 `async def` 声明它:
    
    ```Python hl_lines="1"
    async def get_burgers(number: int):
        # Do some asynchronous stuff to create the burgers
        return burgers
    ```
    
    ...而不是 `def`:
    
    ```Python hl_lines="2"
    # This is not asynchronous
    def get_sequential_burgers(number: int):
        # Do some sequential stuff to create the burgers
        return burgers
    ```
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 21.1K bytes
    - Viewed (0)
Back to top