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

# `celery.concurrency.eventlet`

Eventlet execution pool.

class celery.concurrency.eventlet.TaskPool(*args, **kwargs)

  Eventlet Task Pool.

  class Timer(*args, **kwargs)

    Eventlet Timer.

    cancel(tref)
    clear()
    property queue

      Snapshot of underlying datastructure.

  grow(n=1)
  is_green = True

    set to true if pool uses greenlets.

  on_apply(target, args=None, kwargs=None, callback=None, accept_callback=None, **_)
  on_start()
  on_stop()
  shrink(n=1)
  signal_safe = False

    set to true if the pool can be shutdown from within a signal handler.

  task_join_will_block = False
  terminate_job(pid, signal=None)