(label: string)
| 306 | const participants: string[] = []; |
| 307 | const seen = new Set<string>(); |
| 308 | const add = (label: string): void => { |
| 309 | if (!seen.has(label)) { |
| 310 | seen.add(label); |
| 311 | participants.push(label); |
| 312 | } |
| 313 | }; |
| 314 | const root = sanitizeLabel(rootLabel) || 'root'; |
| 315 | add(root); |
| 316 |