mirror of
https://github.com/apple/swift-nio-imap
synced 2026-11-29 05:24:23 +00:00
In most cases in IMAP it's possible to allow multiple commands to run concurrently. However, in some cases this would lead to undefined behaviour. In particular, when appending, append is the only command that can be sent/active, as for authenticating, and obviously IDLE. This PR implements that by tracking the outgoing tags, and the incoming tagged responses.