MCPcopy
hub / github.com/celery/celery / delay

Method delay

celery/app/task.py:452–463  ·  celery/app/task.py::Task.delay

Star argument version of :meth:`apply_async`. Does not support the extra options enabled by :meth:`apply_async`. Arguments: *args (Any): Positional arguments passed on to the task. **kwargs (Any): Keyword arguments passed on to the task. Returns:

(self, *args, **kwargs)

Source from the content-addressed store, hash-verified

450 return instantiate(self.Strategy, self, app, consumer, **kwargs)
451
452 def delay(self, *args, **kwargs):
453 class="st">"""Star argument version of :meth:`apply_async`.
454
455 Does not support the extra options enabled by :meth:`apply_async`.
456
457 Arguments:
458 *args (Any): Positional arguments passed on to the task.
459 **kwargs (Any): Keyword arguments passed on to the task.
460 Returns:
461 celery.result.AsyncResult: Future promise.
462 class="st">"""
463 return self.apply_async(args, kwargs)
464
465 def apply_async(self, args=None, kwargs=None, task_id=None, producer=None,
466 link=None, link_error=None, shadow=None, **options):

Calls 1

apply_asyncMethod · 0.95