Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 200 for Schedule (0.11 sec)

  1. guava-testlib/src/com/google/common/util/concurrent/testing/SameThreadScheduledExecutorService.java

      }
    
      @Override
      public ListenableScheduledFuture<?> schedule(Runnable command, long delay, TimeUnit unit) {
        Preconditions.checkNotNull(command, "command must not be null");
        Preconditions.checkNotNull(unit, "unit must not be null!");
        return schedule(Executors.callable(command), delay, unit);
      }
    
      @Override
      public <V> ListenableScheduledFuture<V> schedule(
          Callable<V> callable, long delay, TimeUnit unit) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/util/concurrent/testing/SameThreadScheduledExecutorService.java

      }
    
      @Override
      public ListenableScheduledFuture<?> schedule(Runnable command, long delay, TimeUnit unit) {
        Preconditions.checkNotNull(command, "command must not be null");
        Preconditions.checkNotNull(unit, "unit must not be null!");
        return schedule(Executors.callable(command), delay, unit);
      }
    
      @Override
      public <V> ListenableScheduledFuture<V> schedule(
          Callable<V> callable, long delay, TimeUnit unit) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  3. .teamcity/src/main/kotlin/configurations/StageTriggers.kt

    import jetbrains.buildServer.configs.kotlin.triggers.ScheduleTrigger
    import jetbrains.buildServer.configs.kotlin.triggers.VcsTrigger
    import jetbrains.buildServer.configs.kotlin.triggers.schedule
    import jetbrains.buildServer.configs.kotlin.triggers.vcs
    import model.CIBuildModel
    import model.Stage
    import model.StageName
    import model.Trigger
    import projects.StageProject
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Nov 06 08:08:13 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  4. docs/en/docs/reference/background.md

    # Background Tasks - `BackgroundTasks`
    
    You can declare a parameter in a *path operation function* or dependency function with the type `BackgroundTasks`, and then you can use it to schedule the execution of background tasks after the response is sent.
    
    You can import it directly from `fastapi`:
    
    ```python
    from fastapi import BackgroundTasks
    ```
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 377 bytes
    - Viewed (0)
  5. .github/workflows/lock.yml

    name: 'Lock Threads'
    
    on:
      schedule:
        - cron: '0 0 * * *'
      workflow_dispatch:
    
    permissions:
      issues: write
    
    concurrency:
      group: lock
    
    jobs:
      action:
        runs-on: ubuntu-latest
        steps:
          - uses: dessant/lock-threads@v3
            with:
              github-token: ${{ github.token }}
              issue-inactive-days: '365'
              exclude-any-issue-labels: 'do-not-close'
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Jan 30 03:27:43 UTC 2022
    - 447 bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/internal/connection/RealConnectionPool.kt

        addressStates[address]?.scheduleOpener()
      }
    
      fun scheduleCloser() {
        cleanupQueue.schedule(cleanupTask)
      }
    
      /**
       * Ensure enough connections open to [address] to satisfy its [ConnectionPool.AddressPolicy].
       * If there are already enough connections, we're done.
       * If not, we create one and then schedule the task to run again immediately.
       */
      private fun openConnections(state: AddressState): Long {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  7. android/guava-testlib/test/com/google/common/util/concurrent/testing/TestingExecutorsTest.java

            new Runnable() {
              @Override
              public void run() {
                taskDone = true;
              }
            };
        ScheduledFuture<?> future =
            TestingExecutors.noOpScheduledExecutor().schedule(task, 10, MILLISECONDS);
        Thread.sleep(20);
        assertFalse(taskDone);
        assertFalse(future.isDone());
      }
    
      public void testNoOpScheduledExecutorShutdown() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  8. .github/workflows/issue-manager.yml

    name: Issue Manager
    
    on:
      schedule:
        - cron: "13 22 * * *"
      issue_comment:
        types:
          - created
      issues:
        types:
          - labeled
      pull_request_target:
        types:
          - labeled
      workflow_dispatch:
    
    permissions:
      issues: write
      pull-requests: write
    
    jobs:
      issue-manager:
        if: github.repository_owner == 'fastapi'
        runs-on: ubuntu-latest
        steps:
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Oct 15 10:38:53 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  9. .github/workflows/people.yml

    name: FastAPI People
    
    on:
      schedule:
        - cron: "0 14 1 * *"
      workflow_dispatch:
        inputs:
          debug_enabled:
            description: 'Run the build with tmate debugging enabled (https://github.com/marketplace/actions/debugging-with-tmate)'
            required: false
            default: 'false'
    
    jobs:
      fastapi-people:
        if: github.repository_owner == 'fastapi'
        runs-on: ubuntu-latest
        steps:
          - name: Dump GitHub context
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Jul 29 23:35:07 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  10. .github/workflows/label-approved.yml

    name: Label Approved
    
    on:
      schedule:
        - cron: "0 12 * * *"
      workflow_dispatch:
    
    permissions:
      pull-requests: write
    
    env:
      UV_SYSTEM_PYTHON: 1
    
    jobs:
      label-approved:
        if: github.repository_owner == 'fastapi'
        runs-on: ubuntu-latest
        steps:
        - name: Dump GitHub context
          env:
            GITHUB_CONTEXT: ${{ toJson(github) }}
          run: echo "$GITHUB_CONTEXT"
        - uses: actions/checkout@v4
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Oct 12 13:58:30 UTC 2024
    - 1.1K bytes
    - Viewed (0)
Back to top