MCPcopy Index your code
hub / github.com/coder/coder / experiments

Function experiments

site/src/api/queries/experiments.ts:8–14  ·  view source on GitHub ↗
(metadata: MetadataState<Experiment[]>)

Source from the content-addressed store, hash-verified

6const experimentsKey = ["experiments"] as const;
7
8export const experiments = (metadata: MetadataState<Experiment[]>) => {
9 return cachedQuery({
10 metadata,
11 queryKey: experimentsKey,
12 queryFn: () => API.getExperiments(),
13 });
14};
15
16export const availableExperiments = () => {
17 return {

Callers 2

DashboardProviderFunction · 0.90
OverviewPageFunction · 0.90

Calls 1

cachedQueryFunction · 0.90

Tested by

no test coverage detected