Skip to content

Commit

Permalink
Merge 2b60a7d into 3b765cd
Browse files Browse the repository at this point in the history
  • Loading branch information
maxnordlund committed Jul 19, 2017
2 parents 3b765cd + 2b60a7d commit 3fc811c
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions docs/source/rabbitmq-tutorial/1-introduction.rst
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,14 @@ Hello World!
++++++++++++

.. note::
Using the `aio-pika`_ async Python client
Using the `aio-pika`_ async Python client. To use you need a `asyncio eventloop`_, for
example by appending:

.. literalinclude:: examples/1-introduction/send.py
:language: python
:lines: 22-24

.. _asyncio eventloop: https://docs.python.org/3/library/asyncio-eventloop.html

Our "Hello world" won't be too complex ‒ let's send a message, receive it and
print it on the screen. To do so we need two programs: one that sends a
Expand Down Expand Up @@ -279,4 +286,4 @@ move on to :ref:`part 2 <work-queues>` and build a simple work queue.

.. note::

This material was adopted from `official tutorial`_ on **rabbitmq.org**.
This material was adopted from `official tutorial`_ on **rabbitmq.org**.

0 comments on commit 3fc811c

Please sign in to comment.