MCPcopy
hub / github.com/angular/angular / run

Function run

devtools/projects/ng-devtools/src/lib/shared/utils/debouncer.spec.ts:12–14  ·  view source on GitHub ↗

Runs the provided callback with an `ng` string argument.

(cb: (arg: string) => void)

Source from the content-addressed store, hash-verified

10
11/** Runs the provided callback with an `ng` string argument. */
12function run(cb: (arg: string) => void) {
13 cb('ng');
14}
15
16describe('Debouncer', () => {
17 let debouncer: Debouncer;

Callers 1

debouncer.spec.tsFile · 0.70

Calls 1

cbFunction · 0.50

Tested by

no test coverage detected