fix Package.swift: remove NIOIMAPCore product reference (only NIOIMAP is exported by swift-nio-imap) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
10 lines
324 B
Swift
10 lines
324 B
Swift
/// Note: spec defines syncFailed(Error), but Error is not Sendable.
|
|
/// Using String instead for Swift 6 strict concurrency compliance.
|
|
public enum SyncEvent: Sendable {
|
|
case syncStarted
|
|
case newMessages(count: Int, mailbox: String)
|
|
case flagsChanged(messageIds: [String])
|
|
case syncCompleted
|
|
case syncFailed(String)
|
|
}
|