Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 320 for awaited (0.23 sec)

  1. android/guava-tests/test/com/google/common/eventbus/DispatcherTest.java

        final CountDownLatch latch = new CountDownLatch(2);
    
        new Thread(
                new Runnable() {
                  @Override
                  public void run() {
                    try {
                      barrier.await();
                    } catch (Exception e) {
                      throw new AssertionError(e);
                    }
    
                    dispatcher.dispatch(2, integerSubscribers.iterator());
                    latch.countDown();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 27 15:41:25 UTC 2022
    - 5.6K bytes
    - Viewed (0)
  2. docs/ru/docs/tutorial/request-files.md

    * `seek(offset)`: Перейти к байту на позиции `offset` (`int`) в файле.
        * Наример, `await myfile.seek(0)` перейдет к началу файла.
        * Это особенно удобно, если вы один раз выполнили команду `await myfile.read()`, а затем вам нужно прочитать содержимое файла еще раз.
    * `close()`: Закрыть файл.
    
    Поскольку все эти методы являются `async` методами, вам следует использовать "await" вместе с ними.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  3. code_of_conduct.md

    faith may face temporary or permanent repercussions as determined by other
    members of the project's leadership.
    
    ## Attribution
    
    This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
    available at [http://contributor-covenant.org/version/1/4][version]
    
    This version includes a clarification to ensure that the code of conduct is in
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jan 20 18:38:58 UTC 2020
    - 3.5K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/WholeOperationTimeoutTest.kt

            override fun onResponse(
              call: Call,
              response: Response,
            ) {
              response.close()
              latch.countDown()
            }
          },
        )
        latch.await()
        assertThat(call.isCanceled()).isTrue()
        assertThat(exceptionRef.get()).isNotNull()
      }
    
      @Test
      fun timeoutProcessing() {
        server.enqueue(
          MockResponse.Builder()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  5. docs/em/docs/advanced/async-tests.md

    ⤴️ 👥 💪 ✍ `AsyncClient` ⏮️ 📱, & 📨 🔁 📨 ⚫️, ⚙️ `await`.
    
    ```Python hl_lines="9-12"
    {!../../docs_src/async_tests/test_main.py!}
    ```
    
    👉 🌓:
    
    ```Python
    response = client.get('/')
    ```
    
    ...👈 👥 ⚙️ ⚒ 👆 📨 ⏮️ `TestClient`.
    
    /// tip
    
    🗒 👈 👥 ⚙️ 🔁/⌛ ⏮️ 🆕 `AsyncClient` - 📨 🔁.
    
    ///
    
    ## 🎏 🔁 🔢 🤙
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3K bytes
    - Viewed (0)
  6. fastapi/dependencies/utils.py

            elif is_gen_callable(call) or is_async_gen_callable(call):
                solved = await solve_generator(
                    call=call, stack=async_exit_stack, sub_values=solved_result.values
                )
            elif is_coroutine_callable(call):
                solved = await call(**solved_result.values)
            else:
                solved = await run_in_threadpool(call, **solved_result.values)
            if sub_dependant.name is not None:
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 21:46:26 UTC 2024
    - 34.7K bytes
    - Viewed (0)
  7. SECURITY.md

       the issue and determines the impact it has.
    2. A member of the security team will respond and either confirm or reject the security report.
       If the report is rejected the response explains why.
    3. Code is audited to find any potential similar problems.
    4. Fixes are prepared for the latest release.
    5. On the date that the fixes are applied a security advisory will be published on <https://blog.min.io>.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Feb 12 00:51:25 UTC 2022
    - 2.2K bytes
    - Viewed (0)
  8. docs/pt/docs/advanced/async-tests.md

    ```Python hl_lines="9-12"
    {!../../docs_src/async_tests/test_main.py!}
    ```
    
    Isso é equivalente a:
    
    ```Python
    response = client.get('/')
    ```
    
    ...que nós utilizamos para fazer as nossas requisições utilizando o `TestClient`.
    
    /// tip | "Dica"
    
    Note que nós estamos utilizando async/await com o novo `AsyncClient` - a requisição é assíncrona.
    
    ///
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  9. docs/en/docs/advanced/websockets.md

    **FastAPI** provides the same `WebSocket` directly just as a convenience for you, the developer. But it comes directly from Starlette.
    
    ///
    
    ## 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.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  10. .github/workflows/issue-on-pr-rollback.yml

            with:
              github-token: ${{secrets.GITHUB_TOKEN}}
              script: |
                const script = require('./.github/workflows/create_issue.js')
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Fri Nov 01 08:40:10 UTC 2024
    - 1.5K bytes
    - Viewed (0)
Back to top