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

Function extendService

src/background/sync/base.js:228–230  ·  view source on GitHub ↗
(options)

Source from the content-addressed store, hash-verified

226 return Service;
227}
228function extendService(options) {
229 return serviceFactory(Object.assign(Object.create(this.prototype), options));
230}
231
232const onStateChange = debounce(() => {
233 sendCmd('UpdateSync', getStates());

Callers

nothing calls this directly

Calls 1

serviceFactoryFunction · 0.85

Tested by

no test coverage detected