Class | Redwood::PollManager |
In: |
lib/sup/poll.rb
|
Parent: | Object |
DELAY | = | $config[:poll_interval] || 300 |
TODO: see if we can do this within PollMode rather than by calling this method.
a wrapper around Index.add_message that calls the proper hooks, does the gui callback stuff, etc.
like Source#each, but yields successive Message objects, which have their labels and offsets set correctly.
this is the primary mechanism for iterating over messages from a source.