MCPcopy Create free account
hub / github.com/thetarnav/solid-devtools / send_connection_status_to_popup

Function send_connection_status_to_popup

extension/src/background.ts:100–104  ·  view source on GitHub ↗
(place: Place_Name, state: boolean)

Source from the content-addressed store, hash-verified

98}
99
100function send_connection_status_to_popup(place: Place_Name, state: boolean) {
101 if (popup) {
102 port_post_message(popup.port, 'Port_Connection_Status', {place, state})
103 }
104}
105
106function on_connected(port: Port) {
107

Callers 2

on_connectedFunction · 0.85
on_disconnectedFunction · 0.85

Calls 1

port_post_messageFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…