function Build.execution_logs
function Build.try_wait
function Build.wait
Block until the Bazel invocation finishes and return a
BuildStatus.
After wait() returns, the execution log pipe has been closed and the
producer thread has exited. Calling execution_logs() after wait()
will fail — the stream is consumed as part of the wait. Iterate
execution_logs() before calling wait() if you need to process
entries.
build_events() remains usable after wait() for replaying historical
events, because the build event stream retains its buffer.
function Build.workspace_events

