mirror of
https://github.com/swift-server/async-http-client.git
synced 2026-06-02 07:37:34 +00:00
6b5f8c9679
Motivation: There are a couple of sendability warnings leftover in Sources. Transaction moves a closure into a task. The closure isn't Sendable (and shouldn't be). However, higher up the stack there's a closure which generates the non-sendable closure which can be sendable. Modifications: - Pass the sendable closure generating closure down rather - Add a few more explicit sendable annotations Result: Fewer warnings