Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for runAsync (0.1 sec)

  1. platforms/enterprise/enterprise/src/integTest/groovy/org/gradle/internal/enterprise/GradleEnterprisePluginBackgroundJobExecutorsIntegrationTest.groovy

        @Override
        String runIgnoringInputs(String code) {
            """
                def executors = ${executors}
                def future = ${CompletableFuture.name}.runAsync({
                    ${code}
                }, executors.userJobExecutor)
    
                // Block until the job completes to ensure it run at the configuration time.
                future.get()
            """
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 29 16:27:53 UTC 2024
    - 7K bytes
    - Viewed (0)
  2. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/server/exec/CleanUpVirtualFileSystemAfterBuild.java

            }
        }
    
        private CompletableFuture<Void> startAsyncCleanupAfterBuild() {
            return userHomeServiceRegistry.getCurrentServices()
                .map(serviceRegistry ->
                    CompletableFuture.runAsync(() -> {
                        LOGGER.debug("Cleaning virtual file system after build finished");
                        BuildLifecycleAwareVirtualFileSystem virtualFileSystem = serviceRegistry.get(BuildLifecycleAwareVirtualFileSystem.class);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 25 15:08:33 UTC 2024
    - 4K bytes
    - Viewed (0)
  3. fastapi/concurrency.py

        except Exception as e:
            ok = bool(
                await anyio.to_thread.run_sync(
                    cm.__exit__, type(e), e, None, limiter=exit_limiter
                )
            )
            if not ok:
                raise e
        else:
            await anyio.to_thread.run_sync(
                cm.__exit__, None, None, None, limiter=exit_limiter
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Mon Dec 25 17:57:35 UTC 2023
    - 1.4K bytes
    - Viewed (0)
Back to top