celery.utils.timer2

    class celery.utils.timer2.Entry(fun, args=None, kwargs=None)

    • args None

    • cancel()[源代码]

    • cancelled None

    • fun None

    • kwargs None

    • tref None

    celery.utils.timer2.Schedule

    Timer 的别名

    class celery.utils.timer2.Timer(schedule=None, on_error=None, on_tick=None, on_start=None, max_interval=None, \*kwargs*)

    • class Entry(fun, args=None, kwargs=None)

      • cancelled None

      • fun None

      • kwargs None

      • tref None

    • Timer.Schedule

      Timer 的别名

    • Timer.call_after(\args, **kwargs*)

    • Timer.call_at(\args, **kwargs*)

    • Timer.call_repeatedly(\args, **kwargs*)

    • Timer.cancel(tref)

    • Timer.ensure_started()[源代码]

    • Timer.enter(entry, eta, priority=None)

    • Timer.enter_after(\args, **kwargs*)[源代码]

    • Timer.exit_after(secs, priority=10)

    • Timer.next()

    • Timer.on_tick = None

    • Timer.queue None[源代码]

    • Timer.run()

    • Timer.running = False

    • Timer.stop()[源代码]