Skip to main content
function Runs.get
def Runs.get(
label: str,
/
) -> Future[bazel.run.Runnable]
The Future[Runnable] for one of the targets, by label, however it was spelled. Blocks on block() until that target settles. function Runs.try_pop
def Runs.try_pop() -> None | (str, Future[bazel.run.Runnable])
The next target to finish building, as (label, Future[Runnable]) in completion order, or None when none is ready yet. The future is already settled: block() returns at once, with the Runnable or one of bazel.run.BuildError, NotBuilt, NotRunnable. function Runs.wait
def Runs.wait() -> bazel.build.BuildStatus
Block until the build finishes and return its BuildStatus. property Runs.cancellation
Runs.cancellation: cancellation.Token
The build’s cancellation token: cancelling it interrupts Bazel. property Runs.done
Runs.done: bool
Every target has settled and been popped. property Runs.sink_invocation_id
Runs.sink_invocation_id: str
The invocation id every gRPC BES sink filed this build under, or "" without sinks. As on bazel.build.Build.