MCPcopy Create free account
hub / github.com/AstroPrint/AstroBox / _onConnect

Method _onConnect

src/astroprint/plugin/services/printer.py:482–483  ·  view source on GitHub ↗
(self,event,value)

Source from the content-addressed store, hash-verified

480 #EVENTS
481
482 def _onConnect(self,event,value):
483 self.publishEvent('printer_state_changed', {"operational": True})
484
485 def _onConnecting(self,event,value):
486 self.publishEvent('printer_state_changed', {"connecting": True})

Callers

nothing calls this directly

Calls 1

publishEventMethod · 0.80

Tested by

no test coverage detected