MCPcopy
hub / github.com/celery/celery / on_consumer_ready

Method on_consumer_ready

celery/contrib/testing/worker.py:81–86  ·  view source on GitHub ↗

Callback called when the Consumer blueprint is fully started.

(self, consumer)

Source from the content-addressed store, hash-verified

79 return super().start()
80
81 def on_consumer_ready(self, consumer):
82 # type: (celery.worker.consumer.Consumer) -> None
83 """Callback called when the Consumer blueprint is fully started."""
84 self._on_started.set()
85 test_worker_started.send(
86 sender=self.app, worker=self, consumer=consumer)
87
88 def ensure_started(self):
89 # type: () -> None

Callers

nothing calls this directly

Calls 2

setMethod · 0.45
sendMethod · 0.45

Tested by

no test coverage detected