Celery v4.4.5 Documentationthe 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__), make up the Celery calling API, which is also used for signatures. A0 码力 | 1215 页 | 1.44 MB | 1 年前3
Celery 4.4.3 Documentationthe 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__), make up the Celery calling API, which is also used for signatures. A0 码力 | 1209 页 | 1.44 MB | 1 年前3
Celery v4.4.4 Documentationthe 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__), make up the Celery calling API, which is also used for signatures. A0 码力 | 1215 页 | 1.44 MB | 1 年前3
Celery v4.4.6 Documentationthe 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__), make up the Celery calling API, which is also used for signatures. A0 码力 | 1216 页 | 1.44 MB | 1 年前3
Celery v4.4.7 Documentationthe 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__), make up the Celery calling API, which is also used for signatures. A0 码力 | 1219 页 | 1.44 MB | 1 年前3
Celery 4.4.0 Documentationthe 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 码力 | 1185 页 | 1.42 MB | 1 年前3
Celery v4.3.0 Documentationthe 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 码力 | 790 页 | 2.84 MB | 1 年前3
Celery 4.4.1 Documentationthe 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 码力 | 1188 页 | 1.42 MB | 1 年前3
Celery 4.4.2 Documentationthe 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 码力 | 1188 页 | 1.42 MB | 1 年前3
Celery v4.3.0 Documentationthe 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 码力 | 1174 页 | 1.41 MB | 1 年前3
共 51 条
- 1
- 2
- 3
- 4
- 5
- 6













