(runtime: PiRuntime)
| 40 | const liveToolProgressByRuntime = new WeakMap<PiRuntime, Map<string, RuntimeToolProgress>>() |
| 41 | |
| 42 | function getLiveToolProgress(runtime: PiRuntime) { |
| 43 | let progress = liveToolProgressByRuntime.get(runtime) |
| 44 | if (!progress) { |
| 45 | progress = new Map() |
| 46 | liveToolProgressByRuntime.set(runtime, progress) |
| 47 | } |
| 48 | |
| 49 | return progress |
| 50 | } |
| 51 | |
| 52 | function getLiveToolProgressMessages(runtime: PiRuntime) { |
| 53 | const progress = liveToolProgressByRuntime.get(runtime) |
no test coverage detected