MCPcopy Create free account
hub / github.com/MCSLTeam/MCSL2 / pause

Method pause

MCSL2Lib/ProgramControllers/downloadController.py:230–233  ·  view source on GitHub ↗

暂停下载

(self)

Source from the content-addressed store, hash-verified

228 self.gotWrong.emit(str(e))
229
230 def pause(self):
231 """暂停下载"""
232 if self.downloader:
233 self.downloader.stop()
234
235 def resume(self):
236 """恢复下载 - pypdl 支持断点续传,重新start即可"""

Callers 2

onPauseBtnClickedMethod · 0.80
pauseDownloadTaskMethod · 0.80

Calls 1

stopMethod · 0.80

Tested by

no test coverage detected