MCPcopy
hub / github.com/celery/celery / capture

Method capture

celery/events/snapshot.py:68–69  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

66 self.on_shutter(self.state)
67
68 def capture(self):
69 self.state.freeze_while(self.shutter, clear_after=self.clear_after)
70
71 def cancel(self):
72 if self._tref:

Callers 4

test_shutter__captureMethod · 0.95
evcamFunction · 0.45
capture_eventsFunction · 0.45
evdumpFunction · 0.45

Calls 1

freeze_whileMethod · 0.80

Tested by 1

test_shutter__captureMethod · 0.76