Skip to content

Commit

Permalink
Add documentation.
Browse files Browse the repository at this point in the history
  • Loading branch information
thedrow committed Oct 6, 2024
1 parent af4f351 commit 6bfab88
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions docs/userguide/examples.rst
Original file line number Diff line number Diff line change
Expand Up @@ -53,3 +53,16 @@ for priorities using different queues.
:file:`client.py`:

.. literalinclude:: ../../examples/simple_task_queue/client.py

.. _native-delayed-delivery-example:

Native Delayed Delivery
=======================

This example demonstrates how to declare native delayed delivery queues and exchanges and publish a message using
the native delayed delivery mechanism.

:file:`delayed_infra.py`:

.. literalinclude:: ../../examples/delayed_infra.py
:language: python

0 comments on commit 6bfab88

Please sign in to comment.