Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1131 - 1140 of 1,186 for sync (0.02 sec)

  1. compat/maven-embedder/src/main/java/org/apache/maven/cli/transfer/SimplexTransferListener.java

            public void process(Consumer<TransferEvent> consumer) {
                consumer.accept(event);
            }
    
            public void waitForProcessed() throws InterruptedException {
                // nothing, is async
            }
        }
    
        private static class BlockingExchange extends Exchange {
            private final CountDownLatch latch = new CountDownLatch(1);
    
            private BlockingExchange(TransferEvent event) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  2. docs/de/docs/tutorial/dependencies/dependencies-with-yield.md

    Der auf die `yield`-Anweisung folgende Code wird ausgeführt, nachdem die Response gesendet wurde:
    
    ```Python hl_lines="5-6"
    {!../../docs_src/dependencies/tutorial007.py!}
    ```
    
    /// tip | "Tipp"
    
    Sie können `async`hrone oder reguläre Funktionen verwenden.
    
    **FastAPI** wird bei jeder das Richtige tun, so wie auch bei normalen Abhängigkeiten.
    
    ///
    
    ## Eine Abhängigkeit mit `yield` und `try`.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/connection/ConnectPlan.kt

        )
      }
    
      override fun connectTcp(): ConnectResult {
        check(rawSocket == null) { "TCP already connected" }
    
        var success = false
    
        // Tell the call about the connecting call so async cancels work.
        user.addPlanToCancel(this)
        try {
          user.connectStart(route)
    
          connectSocket()
          success = true
          return ConnectResult(plan = this)
        } catch (e: IOException) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  4. docs/ru/docs/tutorial/dependencies/dependencies-with-yield.md

    ```
    
    Код, следующий за оператором `yield`, выполняется после доставки ответа:
    
    ```Python hl_lines="5-6"
    {!../../docs_src/dependencies/tutorial007.py!}
    ```
    
    /// tip | "Подсказка"
    
    Можно использовать как `async` так и обычные функции.
    
    **FastAPI** это корректно обработает, и в обоих случаях будет делать то же самое, что и с обычными зависимостями.
    
    ///
    
    ## Зависимость с `yield` и `try` одновременно
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 19.5K bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/dependencies/dependencies-with-yield.md

    ```
    
    The code following the `yield` statement is executed after the response has been delivered:
    
    ```Python hl_lines="5-6"
    {!../../docs_src/dependencies/tutorial007.py!}
    ```
    
    /// tip
    
    You can use `async` or regular functions.
    
    **FastAPI** will do the right thing with each, the same as with normal dependencies.
    
    ///
    
    ## A dependency with `yield` and `try`
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 14K bytes
    - Viewed (0)
  6. cmd/storage-interface.go

    	ReadMultiple(ctx context.Context, req ReadMultipleReq, resp chan<- ReadMultipleResp) error
    	CleanAbandonedData(ctx context.Context, volume string, path string) error
    
    	// Write all data, syncs the data to disk.
    	// Should be used for smaller payloads.
    	WriteAll(ctx context.Context, volume string, path string, b []byte) (err error)
    
    	// Read all.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Aug 12 08:38:15 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  7. docs/pt/docs/tutorial/dependencies/dependencies-with-yield.md

    ```
    
    O código após o `yield` é executado após a resposta ser entregue:
    
    ```Python hl_lines="5-6"
    {!../../docs_src/dependencies/tutorial007.py!}
    ```
    
    /// tip | "Dica"
    
    Você pode usar funções assíncronas (`async`) ou funções comuns.
    
    O **FastAPI** saberá o que fazer com cada uma, da mesma forma que as dependências comuns.
    
    ///
    
    ## Uma dependência com `yield` e `try`
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  8. guava/src/com/google/common/eventbus/Dispatcher.java

      }
    
      /**
       * Returns a dispatcher that queues events that are posted in a single global queue. This behavior
       * matches the original behavior of AsyncEventBus exactly, but is otherwise not especially useful.
       * For async dispatch, an {@linkplain #immediate() immediate} dispatcher should generally be
       * preferable.
       */
      static Dispatcher legacyAsync() {
        return new LegacyAsyncDispatcher();
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Dec 15 19:31:54 UTC 2023
    - 7.3K bytes
    - Viewed (0)
  9. manifests/addons/dashboards/lib/panels.libsonnet

            overrideSeries('lds', 'Listeners'),
            overrideSeries('rds', 'Routes'),
            overrideSeries('nds', 'DNS Tables'),
            overrideSeries('istio.io/debug', 'Debug'),
            overrideSeries('istio.io/debug/syncz', 'Debug'),
            overrideSeries('wads', 'Authorization'),
            overrideSeries('wds', 'Workloads'),
            overrideSeries('type.googleapis.com/istio.security.Authorization', 'Authorizations'),
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Jul 26 23:54:32 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  10. manifests/addons/dashboards/ztunnel-dashboard.gen.json

                         }
                      ]
                   },
                   {
                      "matcher": {
                         "id": "byName",
                         "options": "istio.io/debug/syncz"
                      },
                      "properties": [
                         {
                            "id": "displayName",
                            "value": "Debug"
                         }
                      ]
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Jul 26 23:54:32 UTC 2024
    - 17.3K bytes
    - Viewed (0)
Back to top