Current run record, or null if the run is unknown.
(runId: string)
| 157 | |
| 158 | /** Current run record, or null if the run is unknown. */ |
| 159 | status(runId: string): Promise<RunRecord | null> { |
| 160 | return this.log.get(runId) |
| 161 | } |
| 162 | |
| 163 | /** Await every currently in-flight run's `done` promise. */ |
| 164 | async drain(): Promise<void> { |