MCPcopy
hub / github.com/angular/angular / constructor

Method constructor

packages/benchpress/src/sampler.ts:42–50  ·  view source on GitHub ↗
(
    private _driver: WebDriverAdapter,
    private _metric: Metric,
    private _reporter: Reporter,
    private _validator: Validator,
    @Inject(Options.PREPARE) private _prepare: Function,
    @Inject(Options.EXECUTE) private _execute: Function,
    @Inject(Options.NOW) private _now: Function,
  )

Source from the content-addressed store, hash-verified

40 },
41 ];
42 constructor(
43 private _driver: WebDriverAdapter,
44 private _metric: Metric,
45 private _reporter: Reporter,
46 private _validator: Validator,
47 @Inject(Options.PREPARE) private _prepare: Function,
48 @Inject(Options.EXECUTE) private _execute: Function,
49 @Inject(Options.NOW) private _now: Function,
50 ) {}
51
52 sample(): Promise<SampleState> {
53 const loop = (lastState: SampleState): Promise<SampleState> => {

Callers

nothing calls this directly

Calls 1

InjectInterface · 0.90

Tested by

no test coverage detected