MCPcopy
hub / github.com/Zizzamia/perfume.js / markStepOnce

Function markStepOnce

src/steps/markStepOnce.ts:14–19  ·  view source on GitHub ↗
(mark: string)

Source from the content-addressed store, hash-verified

12 *
13 */
14export const markStepOnce = (mark: string) => {
15 if (WP.getEntriesByName(M + mark).length === 0) {
16 WP.mark(M + mark);
17 measureSteps(mark);
18 }
19};

Callers 1

Calls 1

measureStepsFunction · 0.90

Tested by

no test coverage detected