MCPcopy Index your code
hub / github.com/coder/mux / getAll

Method getAll

src/node/services/experimentsService.ts:130–138  ·  view source on GitHub ↗

* Return current values for all known experiments. * This is used to render Settings → Experiments.

()

Source from the content-addressed store, hash-verified

128 * This is used to render Settings → Experiments.
129 */
130 getAll(): Record<ExperimentId, ExperimentValue> {
131 const result: Partial<Record<ExperimentId, ExperimentValue>> = {};
132
133 for (const experimentId of Object.keys(EXPERIMENTS) as ExperimentId[]) {
134 result[experimentId] = this.getExperimentValue(experimentId);
135 }
136
137 return result as Record<ExperimentId, ExperimentValue>;
138 }
139
140 async setOverride(
141 experimentId: ExperimentId,

Callers 4

UILayoutsProviderFunction · 0.80
ExperimentsProviderFunction · 0.80
routerFunction · 0.80

Calls 1

getExperimentValueMethod · 0.95

Tested by

no test coverage detected