MCPcopy Create free account
hub / github.com/violentmonkey/violentmonkey / initialize

Function initialize

src/background/sync/base.js:276–283  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

274 },
275
276 initialize() {
277 this.progress = {
278 finished: 0,
279 total: 0,
280 };
281 this.config = serviceConfig(this.name);
282 this.lastFetch = Promise.resolve();
283 },
284 logError(err) {
285 logError(err);
286 this.error = err;

Callers 1

reconfigureFunction · 0.90

Calls 4

resetSyncStateFunction · 0.90
serviceConfigFunction · 0.85
initConfigFunction · 0.85
autoSyncFunction · 0.85

Tested by

no test coverage detected