Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/celery/celery
/ clear
Method
clear
celery/concurrency/gevent.py:72–78 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
70
self._queue.discard(g)
71
72
def
clear(self):
73
queue = self._queue
74
while
queue:
75
try
:
76
queue.pop().kill()
77
except
KeyError:
78
pass
79
80
@property
81
def
queue(self):
Callers
1
flush
Method · 0.45
Calls
2
kill
Method · 0.45
pop
Method · 0.45
Tested by
no test coverage detected