(experimentId: ExperimentId)
| 312 | } |
| 313 | |
| 314 | private getFlagKey(experimentId: ExperimentId): string { |
| 315 | // Today, our experiment IDs are already PostHog flag keys. |
| 316 | // If that ever changes, this is the single mapping point. |
| 317 | return experimentId; |
| 318 | } |
| 319 | |
| 320 | private async ensureInitialized(): Promise<void> { |
| 321 | if (this.cacheLoaded) { |
no outgoing calls
no test coverage detected