MCPcopy
hub / github.com/darkreader/darkreader / reportChanges

Method reportChanges

src/background/messenger.ts:158–165  ·  view source on GitHub ↗
(data: ExtensionData)

Source from the content-addressed store, hash-verified

156 }
157
158 static reportChanges(data: ExtensionData): void {
159 if (Messenger.changeListenerCount > 0) {
160 chrome.runtime.sendMessage<MessageBGtoUI>({
161 type: MessageTypeBGtoUI.CHANGES,
162 data,
163 });
164 }
165 }
166}

Callers

nothing calls this directly

Calls 1

sendMessageMethod · 0.80

Tested by

no test coverage detected