Celery v4.0.1 Documentation
the task To call our task you can use the delay() method. This is a handy shortcut to the apply_async() method that gives greater control of the task execution (see Calling Tasks): >>> from tasks import apply_async(): >>> add.apply_async((2, 2)) The latter enables you to specify execution options like the time to run (countdown), the queue it should be sent to, and so on: >>> add.apply_async((2, 2) current process, so that no message is sent: >>> add(2, 2) 4 These three methods - delay(), apply_async(), and applying (__call__), represents the Celery calling API, that’s also used for signatures. A0 码力 | 1040 页 | 1.37 MB | 1 年前3Celery v4.0.2 Documentation
the task To call our task you can use the delay() method. This is a handy shortcut to the apply_async() method that gives greater control of the task execution (see Calling Tasks): >>> from tasks import apply_async(): >>> add.apply_async((2, 2)) The latter enables you to specify execution options like the time to run (countdown), the queue it should be sent to, and so on: >>> add.apply_async((2, 2) current process, so that no message is sent: >>> add(2, 2) 4 These three methods - delay(), apply_async(), and applying (__call__), represents the Celery calling API, that’s also used for signatures. A0 码力 | 1042 页 | 1.37 MB | 1 年前3Celery v4.1.0 Documentation
the task To call our task you can use the delay() method. This is a handy shortcut to the apply_async() method that gives greater control of the task execution (see Calling Tasks): >>> from tasks import apply_async(): >>> add.apply_async((2, 2)) The latter enables you to specify execution options like the time to run (countdown), the queue it should be sent to, and so on: >>> add.apply_async((2, 2) current process, so that no message is sent: >>> add(2, 2) 4 These three methods - delay(), apply_async(), and applying (__call__), represents the Celery calling API, that’s also used for signatures. A0 码力 | 1057 页 | 1.35 MB | 1 年前3Celery 4.0 Documentation
the task To call our task you can use the delay() method. This is a handy shortcut to the apply_async() method that gives greater control of the task execution (see Calling Tasks): >>> from tasks import apply_async(): >>> add.apply_async((2, 2)) The latter enables you to specify execution options like the time to run (countdown), the queue it should be sent to, and so on: >>> add.apply_async((2, 2) current process, so that no message is sent: >>> add(2, 2) 4 These three methods - delay(), apply_async(), and applying (__call__), represents the Celery calling API, that’s also used for signatures. A0 码力 | 1042 页 | 1.37 MB | 1 年前3Celery 3.0 Documentation
the task To call our task you can use the delay() method. This is a handy shortcut to the apply_async() method that gives greater control of the task execution (see Calling Tasks): >>> from tasks import apply_async(): >>> add.apply_async((2, 2)) The latter enables you to specify execution options like the time to run (countdown), the queue it should be sent to, and so on: >>> add.apply_async((2, 2) current process, so that no message is sent: >>> add(2, 2) 4 These three methods - delay(), apply_async(), and applying (__call__), represents the Celery calling API, that’s also used for signatures. A0 码力 | 703 页 | 2.60 MB | 1 年前3Celery v4.1.0 Documentation
the task To call our task you can use the delay() method. This is a handy shortcut to the apply_async() method that gives greater control of the task execution (see Calling Tasks): >>> from tasks import apply_async(): >>> add.apply_async((2, 2)) The latter enables you to specify execution options like the time to run (countdown), the queue it should be sent to, and so on: >>> add.apply_async((2, 2) current process, so that no message is sent: >>> add(2, 2) 4 These three methods - delay(), apply_async(), and applying (__call__), represents the Celery calling API, that’s also used for signatures. A0 码力 | 714 页 | 2.63 MB | 1 年前3Celery v4.0.1 Documentation
the task To call our task you can use the delay() method. This is a handy shortcut to the apply_async() method that gives greater control of the task execution (see Calling Tasks): >>> from tasks import apply_async(): >>> add.apply_async((2, 2)) The latter enables you to specify execution options like the time to run (countdown), the queue it should be sent to, and so on: >>> add.apply_async((2, 2) current process, so that no message is sent: >>> add(2, 2) 4 These three methods - delay(), apply_async(), and applying (__call__), represents the Celery calling API, that’s also used for signatures. A0 码力 | 705 页 | 2.63 MB | 1 年前3Celery v4.0.0 Documentation
the task To call our task you can use the delay() method. This is a handy shortcut to the apply_async() method that gives greater control of the task execution (see Calling Tasks): >>> from tasks import apply_async(): >>> add.apply_async((2, 2)) The latter enables you to specify execution options like the time to run (countdown), the queue it should be sent to, and so on: >>> add.apply_async((2, 2) current process, so that no message is sent: >>> add(2, 2) 4 These three methods - delay(), apply_async(), and applying (__call__), represents the Celery calling API, that’s also used for signatures. A0 码力 | 701 页 | 2.59 MB | 1 年前3Celery 4.0 Documentation
the task To call our task you can use the delay() method. This is a handy shortcut to the apply_async() method that gives greater control of the task execution (see Calling Tasks): >>> from tasks import apply_async(): >>> add.apply_async((2, 2)) The latter enables you to specify execution options like the time to run (countdown), the queue it should be sent to, and so on: >>> add.apply_async((2, 2) current process, so that no message is sent: >>> add(2, 2) 4 These three methods - delay(), apply_async(), and applying (__call__), represents the Celery calling API, that’s also used for signatures. A0 码力 | 707 页 | 2.63 MB | 1 年前3Celery v4.0.2 Documentation
the task To call our task you can use the delay() method. This is a handy shortcut to the apply_async() method that gives greater control of the task execution (see Calling Tasks): >>> from tasks import apply_async(): >>> add.apply_async((2, 2)) The latter enables you to specify execution options like the time to run (countdown), the queue it should be sent to, and so on: >>> add.apply_async((2, 2) current process, so that no message is sent: >>> add(2, 2) 4 These three methods - delay(), apply_async(), and applying (__call__), represents the Celery calling API, that’s also used for signatures. A0 码力 | 707 页 | 2.63 MB | 1 年前3
共 51 条
- 1
- 2
- 3
- 4
- 5
- 6