Skip to main content
Ctrl+K

Mobu

  • User Guide
  • Operations
  • Development
  • REST API
  • Change log
    • Rubin docs
  • GitHub
  • User Guide
  • Operations
  • Development
  • REST API
  • Change log
  • Rubin docs
  • GitHub

Section Navigation

Development

  • Development guide
  • Release procedure

Testing

  • Testing against idfdev
  • Testing GitHub integrations

Architecture

  • Sentry Integration

Reference

  • Python internal API
    • schedule_periodic
    • wait_first
    • aclosing_iter
    • Config
    • GitHubCiAppConfig
    • GitHubRefreshAppConfig
    • CONFIGURATION_PATH
    • GITHUB_REPO_CONFIG_PATH
    • GITHUB_WEBHOOK_WAIT_SECONDS
    • NOTEBOOK_REPO_BRANCH
    • NOTEBOOK_REPO_URL
    • TOKEN_LIFETIME
    • USERNAME_REGEX
    • WEBSOCKET_OPEN_TIMEOUT
    • EmptyLoopExecution
    • EventBase
    • Events
    • GitLfsCheck
    • NotebookBase
    • NotebookCellExecution
    • NotebookExecution
    • NubladoDeleteLab
    • NubladoPythonExecution
    • NubladoSpawnLab
    • SIAQuery
    • TapQuery
    • ComparisonError
    • FlockNotFoundError
    • GafaelfawrParseError
    • GafaelfawrWebError
    • GitHubFileNotFoundError
    • MonkeyNotFoundError
    • NotRetainingLogsError
    • SIAClientError
    • SubprocessError
    • Factory
    • ProcessContext
    • create_app
    • lifespan
    • before_send
    • capturing_start_span
    • fingerprint
    • start_transaction
    • post_status
    • ConfigDependency
    • config_dependency
    • anonymous_context_dependency
    • ContextDependency
    • RequestContext
    • context_dependency
    • CiManagerDependency
    • MaybeCiManagerDependency
    • external_router
    • api_router
    • api_router
    • internal_router
    • CiJobSummary
    • CiManagerSummary
    • CiWorkerSummary
    • FlockConfig
    • FlockData
    • FlockSummary
    • Index
    • MonkeyData
    • MonkeyState
    • ClonedRepoInfo
    • RepoConfig
    • SolitaryConfig
    • SolitaryResult
    • CombinedSummary
    • AuthenticatedUser
    • Group
    • User
    • UserSpec
    • BusinessConfig
    • BusinessData
    • BusinessOptions
    • BusinessConfigType
    • EmptyLoopConfig
    • GitLFSBusinessOptions
    • GitLFSConfig
    • CollectionRule
    • Filterable
    • NotebookFilterResults
    • NotebookMetadata
    • NotebookRunnerData
    • NotebookRunnerOptions
    • NotebookRunnerCountingConfig
    • NotebookRunnerCountingOptions
    • NotebookRunnerInfiniteConfig
    • NotebookRunnerListConfig
    • NubladoBusinessData
    • NubladoBusinessOptions
    • RunningImage
    • NubladoPythonLoopConfig
    • NubladoPythonLoopOptions
    • SIABusinessData
    • SIAQuery
    • SIAQuerySetRunnerConfig
    • SIAQuerySetRunnerOptions
    • TAPBusinessData
    • TAPBusinessOptions
    • TAPQueryRunnerConfig
    • TAPQueryRunnerOptions
    • TAPQuerySetRunnerConfig
    • TAPQuerySetRunnerOptions
    • Flock
    • FlockManager
    • Monkey
    • NotebookFinder
    • RepoManager
    • Solitary
    • Business
    • BusinessCommand
    • CommonEventAttrs
    • EmptyLoop
    • GitLFSBusiness
    • ExecutionIteration
    • NotebookRunner
    • NotebookRunnerCounting
    • NotebookRunnerInfinite
    • NotebookRunnerList
    • NubladoBusiness
    • ProgressLogMessage
    • NubladoPythonLoop
    • SIAQuerySetRunner
    • TAPBusiness
    • TAPQueryRunner
    • TAPQuerySetRunner
    • CiManager
    • JobLifecycle
    • CiNotebookJob
    • GafaelfawrStorage
    • Git
    • Output
    • CheckRun
    • GitHubStorage
  • Development
  • Python internal API
  • wait_first

wait_first#

async mobu.asyncio.wait_first(*args)#

Return the result of the first awaitable to finish.

The other awaitables will be cancelled. The first awaitable determines the expected return type, and all other awaitables must return either the same return type or None.

Notes

Taken from https://stackoverflow.com/questions/31900244/

Parameters:

args (Coroutine[None, None, TypeVar(T)])

Return type:

Optional[TypeVar(T)]

previous

schedule_periodic

next

aclosing_iter

On this page
  • wait_first()

© Copyright 2015-2025 Association of Universities for Research in Astronomy, Inc. (AURA).

Created using Sphinx 8.1.3.

Built with the PyData Sphinx Theme 0.16.1.