This document describes the current stable version of Celery (5.6). For development docs, go here.

# `celery.worker.pidbox`

Worker Pidbox (remote control).

class celery.worker.pidbox.Pidbox(c)

  Worker mailbox.

  consumer = None
  on_message(body, message)
  on_stop()
  reset()
  shutdown(c)
  start(c)
  stop(c)

class celery.worker.pidbox.gPidbox(c)

  Worker pidbox (greenlet).

  loop(c)
  on_stop()
  reset()
  start(c)