Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 35 of 35 for AsyncIO (0.04 sec)

  1. docs/fr/docs/async.md

    Mais si vous utilisez `async` / `await` sans **FastAPI**, <a href="https://docs.python.org/3/library/asyncio-task.html#coroutine" class="external-link" target="_blank">allez jetez un coup d'oeil à la documentation officielle de Python</a>.
    
    ### Autres formes de code asynchrone
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sun Aug 31 09:56:21 UTC 2025
    - 25.4K bytes
    - Viewed (0)
  2. docs/ja/docs/alternatives.md

    強力な依存性注入の仕組みを持ち、コードの繰り返しを最小化する方法を見つけた点。
    
    ///
    
    ### <a href="https://sanic.readthedocs.io/en/latest/" class="external-link" target="_blank">Sanic</a>
    
    `asyncio`に基づいた、Pythonのフレームワークの中でも非常に高速なものの一つです。Flaskと非常に似た作りになっています。
    
    /// note | 技術詳細
    
    Pythonの`asyncio`ループの代わりに、`uvloop`が利用されています。それにより、非常に高速です。
    
    `Uvicorn`と`Starlette`に明らかなインスピレーションを与えており、それらは現在オープンなベンチマークにおいてSanicより高速です。
    
    ///
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Oct 11 17:48:49 UTC 2025
    - 31.5K bytes
    - Viewed (0)
  3. docs/ja/docs/async.md

    では、このニワトリと卵の問題について、最初の `async` 関数をどのように呼び出すのでしょうか?
    
    **FastAPI**を使用している場合、その「最初の」関数が*path operation 関数*であり、FastAPIが正しく実行する方法を知っているので、心配する必要はありません。
    
    しかし、FastAPI以外で `async` / `await` を使用したい場合は、<a href="https://docs.python.org/3/library/asyncio-task.html#coroutine" class="external-link" target="_blank">公式Pythonドキュメントを参照して下さい</a>。
    
    ### 非同期コードの他の形式
    
    `async` と `await` を使用するスタイルは、この言語では比較的新しいものです。
    
    非同期コードの操作がはるかに簡単になります。
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sun Aug 31 09:56:21 UTC 2025
    - 27.7K bytes
    - Viewed (0)
  4. fastapi/routing.py

    def websocket_session(
        func: Callable[[WebSocket], Awaitable[None]],
    ) -> ASGIApp:
        """
        Takes a coroutine `func(session)`, and returns an ASGI application.
        """
        # assert asyncio.iscoroutinefunction(func), "WebSocket endpoints must be async"
    
        async def app(scope: Scope, receive: Receive, send: Send) -> None:
            session = WebSocket(scope, receive=receive, send=send)
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 174.6K bytes
    - Viewed (0)
  5. docs/en/docs/release-notes.md

    It upgrades the version of Starlette to `0.15.0`, now based on [AnyIO](https://anyio.readthedocs.io/en/stable/), and the internal async components in **FastAPI** are now based on AnyIO as well, making it compatible with both **asyncio** and **Trio**.
    
    You can read the docs about running [FastAPI with Trio using Hypercorn](https://fastapi.tiangolo.com/deployment/manually/#hypercorn-with-trio).
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 19:06:15 UTC 2025
    - 586.7K bytes
    - Viewed (0)
Back to top