MCPcopy
hub / github.com/celery/celery / join

Method join

celery/bootsteps.py:178–184  ·  view source on GitHub ↗
(self, timeout=None)

Source from the content-addressed store, hash-verified

176 self.shutdown_complete.set()
177
178 def join(self, timeout=None):
179 try:
180 # Will only get here if running green,
181 # makes sure all greenthreads have exited.
182 self.shutdown_complete.wait(timeout=timeout)
183 except IGNORE_ERRORS:
184 pass
185
186 def apply(self, parent, **kwargs):
187 """Apply the steps in this blueprint to an object.

Callers 2

applyMethod · 0.45

Calls 1

waitMethod · 0.45

Tested by 1