We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Progress
Sendable
1 parent 0bdc425 commit 10f42e6Copy full SHA for 10f42e6
Sources/AsyncHTTPClient/FileDownloadDelegate.swift
@@ -20,7 +20,7 @@ import NIOPosix
20
public final class FileDownloadDelegate: HTTPClientResponseDelegate {
21
/// The response type for this delegate: the total count of bytes as reported by the response
22
/// "Content-Length" header (if available) and the count of bytes downloaded.
23
- public struct Progress {
+ public struct Progress: Sendable {
24
public var totalBytes: Int?
25
public var receivedBytes: Int
26
}
0 commit comments