MCPcopy
hub / github.com/GooseMod/OpenAsar / segment

Function segment

src/splash/index.js:209–211  ·  view source on GitHub ↗
(tracker)

Source from the content-addressed store, hash-verified

207 });
208
209 const segment = (tracker) => (({ name }) => {
210 tracker.record(name, 'Complete');
211 });
212
213 on('downloaded-module', segment(downloads));
214 on('installed-module', segment(installs));

Callers 1

initOldFunction · 0.85

Calls 1

recordMethod · 0.80

Tested by

no test coverage detected