Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 49 for callback (0.1 sec)

  1. docs/pt/docs/advanced/openapi-callbacks.md

    ///
    
    ### Criar um `APIRouter` para o callback
    
    Primeiramente crie um novo `APIRouter` que conterá um ou mais callbacks.
    
    ```Python hl_lines="3  25"
    {!../../docs_src/openapi_callbacks/tutorial001.py!}
    ```
    
    ### Crie a *operação de rota* do callback
    
    Para criar a *operação de rota* do callback, use o mesmo `APIRouter` que você criou acima.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Oct 30 19:53:03 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  2. compat/maven-embedder/src/main/java/org/apache/maven/cli/props/MavenPropertiesLoader.java

            loadIncludes(path, sp, callback);
            substitute(sp, callback);
            sp.forEach(properties::setProperty);
        }
    
        public static void substitute(MavenProperties props, Function<String, String> callback) {
            for (Enumeration<?> e = props.propertyNames(); e.hasMoreElements(); ) {
                String name = (String) e.nextElement();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  3. compat/maven-embedder/src/main/java/org/apache/maven/cli/ExtensionConfigurationModule.java

        private final CoreExtensionEntry extension;
        private final Function<String, String> callback;
        private final DefaultInterpolator interpolator = new DefaultInterpolator();
    
        public ExtensionConfigurationModule(CoreExtensionEntry extension, Function<String, String> callback) {
            this.extension = extension;
            this.callback = callback;
        }
    
        @Override
        public void configure(Binder binder) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/AbstractMavenLifecycleParticipant.java

     * under the License.
     */
    package org.apache.maven;
    
    import org.apache.maven.execution.MavenSession;
    
    /**
     * Allows core extensions to participate in Maven build session lifecycle.
     *
     * All callback methods (will) follow beforeXXX/afterXXX naming pattern to
     * indicate at what lifecycle point it is being called.
     *
     * @see <a href="https://maven.apache.org/examples/maven-3-lifecycle-extensions.html">example</a>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/Futures.java

       *
       * @param future The future attach the callback to.
       * @param callback The callback to invoke when {@code future} is completed.
       * @param executor The executor to run {@code callback} when the future completes.
       * @since 10.0
       */
      public static <V extends @Nullable Object> void addCallback(
          final ListenableFuture<V> future,
          final FutureCallback<? super V> callback,
          Executor executor) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 13:13:32 UTC 2024
    - 64.7K bytes
    - Viewed (0)
  6. guava/src/com/google/common/util/concurrent/Futures.java

       *
       * @param future The future attach the callback to.
       * @param callback The callback to invoke when {@code future} is completed.
       * @param executor The executor to run {@code callback} when the future completes.
       * @since 10.0
       */
      public static <V extends @Nullable Object> void addCallback(
          final ListenableFuture<V> future,
          final FutureCallback<? super V> callback,
          Executor executor) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 13:13:32 UTC 2024
    - 64.4K bytes
    - Viewed (0)
  7. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/AbstractCrawlerService.java

            }
        }
    
        public int getCount(final Consumer<SearchRequestBuilder> callback) {
            final TotalHits totalHits = getClient().get(c -> {
                final SearchRequestBuilder builder = c.prepareSearch(index).setSize(0).setTrackTotalHits(true);
                callback.accept(builder);
                return builder.execute();
            }).getHits().getTotalHits();
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 23.6K bytes
    - Viewed (0)
  8. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchDataService.java

        }
    
        public List<OpenSearchAccessResult> getAccessResultList(final Consumer<SearchRequestBuilder> callback) {
            final SearchResponse response = getClient().get(c -> {
                final SearchRequestBuilder builder = c.prepareSearch(index);
                callback.accept(builder);
                builder.setFetchSource(new String[] { "parentUrl", "method", "mimeType", "sessionId", "url", "executionTime", "createTime",
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  9. compat/maven-embedder/src/main/java/org/apache/maven/cli/props/MavenProperties.java

        private Function<String, String> callback;
        boolean substitute = true;
        boolean typed;
    
        public MavenProperties() {}
    
        public MavenProperties(Path location) throws IOException {
            this(location, null);
        }
    
        public MavenProperties(Path location, Function<String, String> callback) throws IOException {
            this.location = location;
            this.callback = callback;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 38.2K bytes
    - Viewed (0)
  10. impl/maven-core/src/main/java/org/apache/maven/execution/MojoExecutionEvent.java

    import org.apache.maven.plugin.MojoExecution;
    import org.apache.maven.project.MavenProject;
    
    /**
     * <p>
     * Encapsulates parameters of MojoExecutionListener callback methods and is meant to provide API evolution path should
     * it become necessary to introduce new parameters in the existing callbacks in the future.
     * </p>
     * <strong>Note:</strong> This class is part of work in progress and can be changed or removed without notice.
     *
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.4K bytes
    - Viewed (0)
Back to top