MCPcopy Index your code
hub / github.com/pyload/pyload / popEvent

Method popEvent

module/PullEvents.py:64–67  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

62 return len(self.events) > 0
63
64 def popEvent(self):
65 if not len(self.events):
66 return None
67 return self.events.pop(0)
68
69 def addEvent(self, event):
70 self.events.append(event)

Callers 1

getEventsMethod · 0.80

Calls 1

popMethod · 0.80

Tested by

no test coverage detected