Skip to content

Commit

Permalink
Move todo from cheatsheet to TODO
Browse files Browse the repository at this point in the history
  • Loading branch information
ask committed Mar 23, 2018
1 parent 1b6e6e2 commit 6b9ffd0
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
10 changes: 10 additions & 0 deletions TODO.rst
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,16 @@ Tables
work just by the Window+key keying.


ETA/countdown
=============

Send something to be processed later

.. sourcecode:: python

async for event in my_topic.stream():
# forward to other topic, but only after two days
await topic.send(event, eta=timedelta(days=2))
Tests
=====

Expand Down
10 changes: 0 additions & 10 deletions docs/introduction/cheatsheet.rst
Original file line number Diff line number Diff line change
Expand Up @@ -92,13 +92,3 @@
# values in this table are not concrete! access .current
# for the value related to the time of the current event
print(orders_by_country[order.country_origin].current())

.. topic:: Send something to be processed later

TODO This is not implemented yet

.. sourcecode:: python

async for event in my_topic.stream():
# forward to other topic, but only after two days
await topic.send(event, eta=timedelta(days=2))

0 comments on commit 6b9ffd0

Please sign in to comment.