Skip to content

feat(map): idle#242

Merged
toddheasley merged 10 commits intothunderbird:mainfrom
toddheasley:feature-imap-idle
Mar 16, 2026
Merged

feat(map): idle#242
toddheasley merged 10 commits intothunderbird:mainfrom
toddheasley:feature-imap-idle

Conversation

@toddheasley
Copy link
Collaborator

@toddheasley toddheasley commented Feb 24, 2026

Add complete IMAP idle to support email push:

  • Add IMAPClient.idle, done and noop commands to public interface
  • Add idle test w/timed delay to IMAPClientTests.allCommands integration

Note changes made to support above:

  • Add IdleHandler that publishes push updates as AsyncStream<IdleEvent>
  • Share Message decoding across fetch, idle and noop

NIOIMAP provides idle keep-alive and blocks manual noop during idle; Noop is only needed to poll when servers don't support idle, but it is still needed.

Close #197

@toddheasley toddheasley marked this pull request as ready for review February 26, 2026 14:09
@toddheasley toddheasley requested a review from a team as a code owner February 26, 2026 14:09
@toddheasley toddheasley requested review from wmontwe and removed request for a team February 26, 2026 14:09
@toddheasley toddheasley merged commit 79ae14e into thunderbird:main Mar 16, 2026
5 checks passed
@toddheasley toddheasley deleted the feature-imap-idle branch March 16, 2026 19:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

IMAP-SMTP Foundation: Add IMAP idle

3 participants