MCPcopy
hub / github.com/coder/mux / isExperimentEnabled

Method isExperimentEnabled

src/node/services/workspaceService.ts:2094–2096  ·  view source on GitHub ↗
(experimentId: (typeof EXPERIMENT_IDS)[keyof typeof EXPERIMENT_IDS])

Source from the content-addressed store, hash-verified

2092 }
2093
2094 isExperimentEnabled(experimentId: (typeof EXPERIMENT_IDS)[keyof typeof EXPERIMENT_IDS]): boolean {
2095 return this.experimentsService?.isExperimentEnabled(experimentId) === true;
2096 }
2097
2098 private async stopLiveWorkspaceActivityForArchive(workspaceId: string): Promise<void> {
2099 // Archiving removes the workspace from the sidebar; ensure we don't leave a stream running

Callers 1

forkMethod · 0.95

Calls 1

isExperimentEnabledMethod · 0.65

Tested by

no test coverage detected