twisted.mail.imap4.iterateInReactor(i) function documentationtwisted.mail.imap4
View Source
Consume an interator at most a single iteration per reactor iteration.
If the iterator produces a Deferred, the next iteration will not occur until the Deferred fires, otherwise the next iteration will be taken in the next reactor iteration.
| Returns | A deferred which fires (with None) when the iterator is exhausted or whose errback is called if there is an exception. (type: Deferred) | |
| Function | go | Undocumented |