File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3,7 +3,6 @@ import GraphQL
33
44/// Client is an open-ended implementation of the client side of the protocol. It parses and adds callbacks for each type of server respose.
55public actor Client < InitPayload: Equatable & Codable > {
6- /// We keep this weak because we strongly inject this object into the messenger callback
76 let messenger : Messenger
87
98 let onConnectionError : ( ConnectionErrorResponse , Client ) async throws -> Void
Original file line number Diff line number Diff line change 11import Foundation
22
3- /// Protocol for an object that can send messages. This allows mocking in tests
3+ /// Protocol for an object that can send messages.
44public protocol Messenger : Sendable {
55 /// Send a message through this messenger
66 /// - Parameter message: The message to send
You can’t perform that action at this time.
0 commit comments