MCPcopy
hub / github.com/vercel/next.js / intoFullInterface

Function intoFullInterface

turbopack/packages/devlow-bench/src/index.ts:69–81  ·  view source on GitHub ↗
(iface: Interface)

Source from the content-addressed store, hash-verified

67}
68
69export function intoFullInterface(iface: Interface): FullInterface {
70 return {
71 filterScenarios: iface.filterScenarios ?? (async (scenarios) => scenarios),
72 filterScenarioVariants:
73 iface.filterScenarioVariants ??
74 (async (scenarioVariants) => scenarioVariants),
75 start: iface.start ?? (async () => {}),
76 measurement: iface.measurement ?? (async () => {}),
77 end: iface.end ?? (async () => {}),
78 error: iface.error ?? (async () => {}),
79 finish: iface.finish ?? (async () => {}),
80 }
81}
82
83export {
84 describe,

Callers 1

runScenariosFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected