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

Method pause

src/astroprint/plugin/services/printer.py:398–400  ·  view source on GitHub ↗
(self,data,sendResponse)

Source from the content-addressed store, hash-verified

396 sendResponse(pm.currentPrintJobId)
397
398 def pause(self,data,sendResponse):
399 printerManager().togglePausePrint()
400 sendResponse({'success': 'no_error'})
401
402 def resume(self,data,sendResponse):
403 printerManager().togglePausePrint()

Callers

nothing calls this directly

Calls 2

printerManagerFunction · 0.90
togglePausePrintMethod · 0.80

Tested by

no test coverage detected