Skip to content

Commit 26fce60

Browse files
fabianfettglbrntt
andauthored
Update Sources/GRPC/ClientCalls/ResponseContainers.swift
Co-authored-by: George Barnett <[email protected]>
1 parent 64b642f commit 26fce60

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/GRPC/ClientCalls/ResponseContainers.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ internal class StreamingResponseParts<Response> {
9898
private let eventLoop: EventLoop
9999

100100
/// A callback for response messages.
101-
private var responseCallback: ((Response) -> Void)?
101+
private var responseCallback: Optional<((Response) -> Void)>
102102

103103
/// Lazy promises for the status, initial-, and trailing-metadata.
104104
private var initialMetadataPromise: LazyEventLoopPromise<HPACKHeaders>

0 commit comments

Comments
 (0)