Tasks

A task is a class that that can be created out of any callable. It performs dual roles in that it defines both what happens when a task is called, and what happens when a worker receives that message.

A task message is not removed from the queue until that message has been acknowledged by a worker. A worker can reverse many messages in advance and even if the worker is killed -- by power failure or some other reason - the message will be delivered to anther worker.

Idempotent

Meaning the function won't cause unintended effects even if called multiple times with same arguments.If your tasks are idempotent, the default behavior is to acknowledge the message after the task returns instead.

()

results matching ""

    No results matching ""