Skip to content

Commit d38e16b

Browse files
0xTimglbrntt
andauthored
Make GRPCStatusAndTrailers Sendable (#2204)
Adds a `Sendable` annotation to `GRPCStatusAndTrailers` in v1 Co-authored-by: George Barnett <[email protected]>
1 parent a435b7d commit d38e16b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/GRPC/GRPCStatusAndMetadata.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import NIOHTTP1
1818

1919
/// A simple struct holding a ``GRPCStatus`` and optionally trailers in the form of
2020
/// `HPACKHeaders`.
21-
public struct GRPCStatusAndTrailers: Equatable {
21+
public struct GRPCStatusAndTrailers: Equatable, Sendable {
2222
/// The status.
2323
public var status: GRPCStatus
2424

0 commit comments

Comments
 (0)