Epic: brightdigit/AtLeast#182
Depends on: #82 (queued transports) and brightdigit/SundialKitStream#12 (stream routing, for the Stream variant)
Demonstrate queued binary delivery in both demo variants of Examples/Sundial. No new message type needed — Sundial_Demo_ColorMessage / Sundial_Demo_ComplexMessage already conform to BinaryMessagable. This is the example's first use of SendOptions.
Tasks
Epic: brightdigit/AtLeast#182
Depends on: #82 (queued transports) and brightdigit/SundialKitStream#12 (stream routing, for the Stream variant)
Demonstrate queued binary delivery in both demo variants of
Examples/Sundial. No new message type needed —Sundial_Demo_ColorMessage/Sundial_Demo_ComplexMessagealready conform toBinaryMessagable. This is the example's first use ofSendOptions.Tasks
Sources/Shared/Models/TransportMethod.swift— add a.queuedFile("Queued (file)") case alongside the existing transports.Sources/SundialDemoCombine/{ViewModels/MessageLabViewModel,Views/MessageLabView}.swift: control that sends the current message withsend(message, options: [.queued]).Sources/SundialDemoStream/{ViewModels/StreamMessageLabViewModel,Views/StreamMessageLabView}.swift: same.queuedsend path. Receive side already arrives viatypedMessageStream(no change).Sources/Shared/Views/MessageHistoryRow.swift— add a transport badge/color for.file.swift run --package-path Examples/Sundial SundialDemoStream/... SundialDemoCombine.