Skip to main content

WorkerInfo

Provider that signals that a rule is a worker tool

WorkerInfo.concurrency​

WorkerInfo.concurrency: None | int

WorkerInfo.env​

WorkerInfo.env: None | dict[str, Artifact | CellPath | CellRoot | Label | OutputArtifact | ProjectRoot | ResolvedStringWithMacros | TaggedCommandLine | TargetLabel | TransitiveSetArgsProjection | WriteJsonCliArgs | cmd_args | str | RunInfo]

Environment for the command that spawns the worker.


WorkerInfo.exe​

WorkerInfo.exe: cmd_args

WorkerInfo.streaming​

WorkerInfo.streaming: None | bool

WorkerInfo.supports_bazel_remote_persistent_worker_protocol​

WorkerInfo.supports_bazel_remote_persistent_worker_protocol: bool