Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 46 for asynchronously (0.18 sec)

  1. android/guava-tests/test/com/google/common/util/concurrent/ServiceManagerTest.java

        final NoOpService service1 = new NoOpService();
        // This service will start service1 when addListener is called.  This simulates service1 being
        // started asynchronously.
        Service service2 =
            new Service() {
              final NoOpService delegate = new NoOpService();
    
              @Override
              public final void addListener(Listener listener, Executor executor) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/ServiceManager.java

     *         } catch (TimeoutException timeout) {
     *           // stopping timed out
     *         }
     *       }
     *     });
     *     manager.startAsync();  // start all the services asynchronously
     *   }
     * }
     * }</pre>
     *
     * <p>This class uses the ServiceManager's methods to start all of its services, to respond to
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 33.5K bytes
    - Viewed (0)
  3. guava/src/com/google/common/util/concurrent/ServiceManager.java

     *         } catch (TimeoutException timeout) {
     *           // stopping timed out
     *         }
     *       }
     *     });
     *     manager.startAsync();  // start all the services asynchronously
     *   }
     * }
     * }</pre>
     *
     * <p>This class uses the ServiceManager's methods to start all of its services, to respond to
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 33.2K bytes
    - Viewed (0)
  4. tensorflow/c/eager/parallel_device/parallel_device_lib.h

      // re-use a thread.
      std::vector<std::unique_ptr<DeviceThread>> device_threads_;
      // A cancellation manager to use if the caller does not provide one. When ops
      // are executed asynchronously this must outlive the queued op, so it can't be
      // function-local to Execute.
      mutable std::unique_ptr<CancellationManager> default_cancellation_manager_;
    };
    
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Mon Oct 21 04:14:14 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  5. docs/en/docs/advanced/custom-response.md

    /// tip
    
    Notice that here as we are using standard `open()` that doesn't support `async` and `await`, we declare the path operation with normal `def`.
    
    ///
    
    ### `FileResponse`
    
    Asynchronously streams a file as the response.
    
    Takes a different set of arguments to instantiate than the other response types:
    
    * `path` - The file path to the file to stream.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 12K bytes
    - Viewed (0)
  6. common-protos/k8s.io/api/certificates/v1/generated.proto

    option go_package = "k8s.io/api/certificates/v1";
    
    // CertificateSigningRequest objects provide a mechanism to obtain x509 certificates
    // by submitting a certificate signing request, and having it asynchronously approved and issued.
    //
    // Kubelets use this API to obtain:
    //  1. client certificates to authenticate to kube-apiserver (with the "kubernetes.io/kube-apiserver-client-kubelet" signerName).
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/EventListener.kt

     *
     * All event methods must execute fast, without external locking, cannot throw exceptions, attempt
     * to mutate the event parameters, or be re-entrant back into the client. Any IO - writing to files
     * or network should be done asynchronously.
     */
    abstract class EventListener {
      /**
       * Invoked as soon as a call is enqueued or executed by a client. In case of thread or stream
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  8. guava/src/com/google/common/util/concurrent/FluentFuture.java

        return (FluentFuture<V>) Futures.withTimeout(this, timeout, unit, scheduledExecutor);
      }
    
      /**
       * Returns a new {@code Future} whose result is asynchronously derived from the result of this
       * {@code Future}. If the input {@code Future} fails, the returned {@code Future} fails with the
       * same exception (and the function is not invoked).
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/InterceptorTest.kt

            .build()
        val responseB = client.newCall(requestB).execute()
        assertThat(responseB.body.string()).isEqualTo("b")
      }
    
      /** Make sure interceptors can interact with the OkHttp client asynchronously.  */
      @Test
      fun interceptorMakesAnUnrelatedAsyncRequest() {
        server.enqueue(MockResponse.Builder().body("a").build()) // Fetched by interceptor.
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Jan 14 10:20:09 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/ws/RealWebSocket.kt

          receivedCloseCode = code
          receivedCloseReason = reason
        }
    
        listener.onClosing(this, code, reason)
      }
    
      // Writer methods to enqueue frames. They'll be sent asynchronously by the writer thread.
    
      override fun send(text: String): Boolean {
        return send(text.encodeUtf8(), OPCODE_TEXT)
      }
    
      override fun send(bytes: ByteString): Boolean {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 01 14:21:25 UTC 2024
    - 22.1K bytes
    - Viewed (0)
Back to top