PyDocs

Nav

Internet Protocols and Support

IMAP4.Idler.burst

imaplib

method of IMAP4not WASI
  • IMAP4.Idler.burst(interval=0.1)
Yield a burst of responses no more than interval seconds apart (expressed as an int or float).
1 Example
>>> with M.idle() as idler:
...     # get a response and any others following by < 0.1 seconds
...     batch = list(idler.burst())
...     print(f'processing {len(batch)} responses...')
...     print(batch)
...
processing 3 responses...
[('EXPUNGE', [b'2']), ('EXPUNGE', [b'1']), ('RECENT', [b'0'])]
from the Python docs
See Also
No see-alsos for imaplib/IMAP4.Idler.burst
0 Notes
No notes for IMAP4.Idler.burst