MCPcopy
hub / github.com/celery/celery / clear

Method clear

celery/utils/timer2.py:144–145  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

142 tref.cancel()
143
144 def clear(self) -> None:
145 self.schedule.clear()
146
147 def empty(self) -> bool:
148 return not len(self)

Callers 4

test_schedMethod · 0.95
test_schedMethod · 0.95
_connect_signalMethod · 0.45
disconnectMethod · 0.45

Calls

no outgoing calls

Tested by 2

test_schedMethod · 0.76
test_schedMethod · 0.76