Back to Taskiq

Result backend

docs/extending-taskiq/result-backend.md

0.12.3539 B
Original Source

Result backend

Result backends are used to store information about task execution. To create new result_backend you have to implement taskiq.abc.result_backend.AsyncResultBackend class.

Here's a minimal example of a result backend:

@code python

::: info Cool tip! It's a good practice to skip fetching logs from the storage unless with_logs=True is explicitly specified. :::

::: caution Important note! with_logs param is now deprecated. It will be removed in future releases. :::