- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 164 for task (0.02 seconds)
-
docs/en/docs/tutorial/background-tasks.md
{* ../../docs_src/background_tasks/tutorial001_py39.py hl[6:9] *} ## Add the background task { #add-the-background-task } Inside of your *path operation function*, pass your task function to the *background tasks* object with the method `.add_task()`: {* ../../docs_src/background_tasks/tutorial001_py39.py hl[14] *} `.add_task()` receives as arguments: * A task function to be run in the background (`write_notification`).Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 4.8K bytes - Click Count (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleUserManualPlugin.java
task.dependsOn(tasks.named("assembleSamples")); }); tasks.named(LifecycleBasePlugin.CHECK_TASK_NAME, task -> task.dependsOn(checkDeadInternalLinks)); } private void checkMultiLangSnippetsAreValid(ProjectLayout layout, TaskContainer tasks, GradleDocumentationExtension extension) {
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Thu Dec 04 14:26:28 GMT 2025 - 19.3K bytes - Click Count (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleJavadocsPlugin.java
TaskProvider<Javadoc> javadocAll = tasks.register("javadocAll", Javadoc.class, task -> { task.setGroup("documentation"); task.setDescription("Generate Javadocs for all API classes"); // TODO: This breaks if version is changed later task.setTitle("Gradle API " + project.getVersion()); StandardJavadocDocletOptions options = (StandardJavadocDocletOptions) task.getOptions();
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Thu Oct 02 14:18:24 GMT 2025 - 10.4K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/ListenableFutureTaskTest.java
assertFalse(task.isDone()); assertFalse(task.isCancelled()); // Start the task to put it in the RUNNING state. Have to use a separate // thread because the task will block on the task latch after unblocking // the run latch. exec.execute(task); runLatch.await(); assertEquals(1, listenerLatch.getCount()); assertFalse(task.isDone()); assertFalse(task.isCancelled());
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 11 21:00:51 GMT 2025 - 4.8K bytes - Click Count (0) -
build-logic-commons/publishing/src/main/kotlin/gradlebuild.publish-public-libraries.gradle.kts
if (signArtifacts) { // Otherwise we get // ask ':tooling-api:publishGradleDistributionPublicationToRemoteRepository' uses this output of task ':tooling-api:signLocalPublication' // without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. tasks.named("publishGradleDistributionPublicationToRemoteRepository") {Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Thu Oct 30 16:56:31 GMT 2025 - 5.7K bytes - Click Count (0) -
guava/src/com/google/common/util/concurrent/MoreExecutors.java
* turn, and does not create any threads of its own. * * <p>After execution begins on a thread from the {@code delegate} {@link Executor}, tasks are * polled and executed from a task queue until there are no more tasks. The thread will not be * released until there are no more tasks to run. * * <p>If a task is submitted while a thread is executing tasks from the task queue, the threadCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed Oct 08 18:55:33 GMT 2025 - 45.2K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/ListenableFutureTaskTest.java
assertFalse(task.isDone()); assertFalse(task.isCancelled()); // Start the task to put it in the RUNNING state. Have to use a separate // thread because the task will block on the task latch after unblocking // the run latch. exec.execute(task); runLatch.await(); assertEquals(1, listenerLatch.getCount()); assertFalse(task.isDone()); assertFalse(task.isCancelled());
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 11 21:00:51 GMT 2025 - 4.8K bytes - Click Count (0) -
build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/UpgradedPropertiesChangesTest.kt
"Method com.example.Task.getIsFailOnError(): Is not annotated with @Incubating. Reason for accepting this: Upgraded property" to listOf("Method added to public class"), "Method com.example.Task.getIsFailOnError(): Is not annotated with @since 2.0. Reason for accepting this: Upgraded property" to listOf("Method added to public class"),
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Wed Dec 24 14:15:15 GMT 2025 - 26.2K bytes - Click Count (0) -
docs/ru/docs/tutorial/background-tasks.md
{* ../../docs_src/background_tasks/tutorial001_py39.py hl[1,13] *} **FastAPI** создаст объект типа `BackgroundTasks` для вас и передаст его через этот параметр. ## Создание функции для фоновой задачи { #create-a-task-function } Создайте функцию, которую нужно запустить как фоновую задачу. Это обычная функция, которая может принимать параметры.Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 7.6K bytes - Click Count (0) -
.teamcity/src/main/kotlin/configurations/SmokeTests.kt
import common.toCapitalized import model.CIBuildModel import model.Stage class SmokeTests( model: CIBuildModel, stage: Stage, testJava: JvmCategory, id: String, task: String = "smokeTest", splitNumber: Int = 1, flakyTestStrategy: FlakyTestStrategy, ) : OsAwareBaseGradleBuildType(os = Os.LINUX, stage = stage, init = {
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Mon Dec 22 07:15:16 GMT 2025 - 1.8K bytes - Click Count (0)