Преглед изворни кода

Merge pull request #186 from cyounkins/master

Adds note about non-support for arbitrary TICK_* intervals, and offers a solution
Mike Naberezny пре 12 година
родитељ
комит
d7ffa57515
1 измењених фајлова са 6 додато и 0 уклоњено
  1. 6 0
      docs/events.rst

+ 6 - 0
docs/events.rst

@@ -774,6 +774,12 @@ it will never be sent directly.  Subscribing to this event type will
 cause a subscriber to receive event notifications for all subtypes of
 cause a subscriber to receive event notifications for all subtypes of
 ``TICK``.
 ``TICK``.
 
 
+Note that the only ``TICK`` events available are the ones listed below.
+You cannot subscribe to an arbitrary ``TICK`` interval. If you need an
+interval not provided below, you can subscribe to one of the shorter
+intervals given below and keep track of the time between runs in your
+event listener.
+
 *Name*: ``TICK``
 *Name*: ``TICK``
 
 
 *Subtype Of*: ``EVENT``
 *Subtype Of*: ``EVENT``