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

Method refreshAll

src/node/services/experimentsService.ts:229–241  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

227 }
228
229 async refreshAll(): Promise<void> {
230 await this.ensureInitialized();
231
232 if (!this.isRemoteEvaluationEnabled()) {
233 return;
234 }
235
236 await Promise.all(
237 (Object.keys(EXPERIMENTS) as ExperimentId[]).map(async (experimentId) => {
238 await this.refreshExperiment(experimentId);
239 })
240 );
241 }
242
243 async refreshExperiment(experimentId: ExperimentId): Promise<void> {
244 await this.ensureInitialized();

Callers 1

routerFunction · 0.45

Calls 3

ensureInitializedMethod · 0.95
refreshExperimentMethod · 0.95

Tested by

no test coverage detected