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

Method _sendCurrentDataCallbacks

src/astroprint/printer/__init__.py:309–312  ·  view source on GitHub ↗
(self, data)

Source from the content-addressed store, hash-verified

307 pass
308
309 def _sendCurrentDataCallbacks(self, data):
310 for callback in self._callbacks:
311 try: callback.sendCurrentData(copy.deepcopy(data))
312 except: pass
313
314 def _sendAddTemperatureCallbacks(self, data):
315 for callback in self._callbacks:

Callers

nothing calls this directly

Calls 1

sendCurrentDataMethod · 0.45

Tested by

no test coverage detected