sendToPage function presentation exported

Last updated: 2026-03-04T23:21:38.369Z

Metrics

LOC: 6 Complexity: 1 Params: 1

Signature

sendToPage(message: ExtensionMessage): : Promise<unknown>

Source Code

export async function sendToPage(message: ExtensionMessage): Promise<unknown> {
  return chrome.runtime.sendMessage({
    type: "DEVTOOLS_RELAY",
    payload: { tabId: panelState.inspectedTabId, message },
  });
}

Dependencies (Outgoing)

graph LR sendToPage["sendToPage"] ExtensionMessage["ExtensionMessage"] sendToPage -->|uses| ExtensionMessage style sendToPage fill:#dbeafe,stroke:#2563eb,stroke-width:2px click sendToPage "c08387d99fb8cee4.html" click ExtensionMessage "c70465261f6c12b8.html"
TargetType
ExtensionMessage uses

Impact (Incoming)

graph LR sendToPage["sendToPage"] renderShell["renderShell"] init["init"] toggleWatch["toggleWatch"] fillAll["fillAll"] loadForms["loadForms"] startRecording["startRecording"] renderShell -->|uses| sendToPage init -->|calls| sendToPage toggleWatch -->|uses| sendToPage fillAll -->|uses| sendToPage loadForms -->|uses| sendToPage startRecording -->|uses| sendToPage style sendToPage fill:#dbeafe,stroke:#2563eb,stroke-width:2px click sendToPage "c08387d99fb8cee4.html" click renderShell "49d8574256a889e1.html" click init "13c941f8edb316e8.html" click toggleWatch "5b1d47a07d7aa0c9.html" click fillAll "388f033c1be0f292.html" click loadForms "3391078a65ee3af5.html" click startRecording "951da195ca6b9271.html"
SourceType
renderShell uses
init calls
toggleWatch uses
fillAll uses
loadForms uses
startRecording uses