MCPcopy 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_cancelMethod · 0.95
test_cancelMethod · 0.95
_reconnectMethod · 0.45
stopMethod · 0.45

Calls

no outgoing calls

Tested by 2

test_cancelMethod · 0.76
test_cancelMethod · 0.76