Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/celery/celery
/ cancel
Method
cancel
celery/utils/timer2.py:141–142 ·
view source on GitHub ↗
(self, tref: Entry)
Source
from the content-addressed store, hash-verified
139
self.call_after(secs, sys.exit, priority)
140
141
def
cancel(self, tref: Entry) -> None:
142
tref.cancel()
143
144
def
clear(self) -> None:
145
self.schedule.clear()
Callers
4
test_cancel
Method · 0.95
test_cancel
Method · 0.95
_reconnect
Method · 0.45
stop
Method · 0.45
Calls
no outgoing calls
Tested by
2
test_cancel
Method · 0.76
test_cancel
Method · 0.76