(id: string)
| 852 | } |
| 853 | |
| 854 | getReadyAgent(id: string): Agent | undefined { |
| 855 | const entry = this.agents.get(id); |
| 856 | return entry instanceof Agent ? entry : undefined; |
| 857 | } |
| 858 | |
| 859 | *readyAgents(): Iterable<Agent> { |
| 860 | for (const entry of this.agents.values()) { |