MCPcopy Create free account
hub / github.com/celery/celery / empty

Method empty

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

Source from the content-addressed store, hash-verified

145 self.schedule.clear()
146
147 def empty(self) -> bool:
148 return not len(self)
149
150 def __len__(self) -> int:
151 return len(self.schedule)

Calls

no outgoing calls

Tested by 4

test_receieve_messageMethod · 0.64
test_revokeMethod · 0.64