EOX GitLab Instance
Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
View Server 2
vsq
Commits
44722c01
Commit
44722c01
authored
Aug 25, 2021
by
Fabian Schindler
Browse files
Readme fixes
parent
8eb4b400
Changes
1
Show whitespace changes
Inline
Side-by-side
README.rst
View file @
44722c01
...
@@ -102,7 +102,8 @@ Async Queue
...
@@ -102,7 +102,8 @@ Async Queue
# asynchronous
# asynchronous
result = await task.get(timeout=120)
result = await task.get(timeout=120)
Consumer:
Consumer:
.. code-block:: python
.. code-block:: python
...
@@ -120,7 +121,7 @@ Async Queue
...
@@ -120,7 +121,7 @@ Async Queue
async with task:
async with task:
...
...
task.result = {
task.result = {
'some': 'result
'some': 'result
'
}
}
# a queue can be iterated, when listening on an arbitrary amount of messages
# a queue can be iterated, when listening on an arbitrary amount of messages
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment