@@ -62,7 +62,8 @@ extension GRPCAsyncServerHandler {
6262 requestDeserializer: Deserializer ,
6363 responseSerializer: Serializer ,
6464 interceptors: [ ServerInterceptor < Request , Response > ] ,
65- wrapping unary: @escaping @Sendable ( Request, GRPCAsyncServerCallContext) async throws
65+ wrapping unary:
66+ @escaping @Sendable ( Request, GRPCAsyncServerCallContext) async throws
6667 -> Response
6768 ) {
6869 self . _handler = . init(
@@ -88,10 +89,11 @@ extension GRPCAsyncServerHandler {
8889 requestDeserializer: Deserializer ,
8990 responseSerializer: Serializer ,
9091 interceptors: [ ServerInterceptor < Request , Response > ] ,
91- wrapping clientStreaming: @escaping @Sendable (
92- GRPCAsyncRequestStream < Request > ,
93- GRPCAsyncServerCallContext
94- ) async throws -> Response
92+ wrapping clientStreaming:
93+ @escaping @Sendable (
94+ GRPCAsyncRequestStream < Request > ,
95+ GRPCAsyncServerCallContext
96+ ) async throws -> Response
9597 ) {
9698 self . _handler = . init(
9799 context: context,
@@ -112,11 +114,12 @@ extension GRPCAsyncServerHandler {
112114 requestDeserializer: Deserializer ,
113115 responseSerializer: Serializer ,
114116 interceptors: [ ServerInterceptor < Request , Response > ] ,
115- wrapping serverStreaming: @escaping @Sendable (
116- Request ,
117- GRPCAsyncResponseStreamWriter < Response > ,
118- GRPCAsyncServerCallContext
119- ) async throws -> Void
117+ wrapping serverStreaming:
118+ @escaping @Sendable (
119+ Request ,
120+ GRPCAsyncResponseStreamWriter < Response > ,
121+ GRPCAsyncServerCallContext
122+ ) async throws -> Void
120123 ) {
121124 self . _handler = . init(
122125 context: context,
@@ -140,11 +143,12 @@ extension GRPCAsyncServerHandler {
140143 requestDeserializer: Deserializer ,
141144 responseSerializer: Serializer ,
142145 interceptors: [ ServerInterceptor < Request , Response > ] ,
143- wrapping bidirectional: @escaping @Sendable (
144- GRPCAsyncRequestStream < Request > ,
145- GRPCAsyncResponseStreamWriter < Response > ,
146- GRPCAsyncServerCallContext
147- ) async throws -> Void
146+ wrapping bidirectional:
147+ @escaping @Sendable (
148+ GRPCAsyncRequestStream < Request > ,
149+ GRPCAsyncResponseStreamWriter < Response > ,
150+ GRPCAsyncServerCallContext
151+ ) async throws -> Void
148152 ) {
149153 self . _handler = . init(
150154 context: context,
@@ -265,11 +269,12 @@ internal final class AsyncServerHandler<
265269 responseSerializer: Serializer ,
266270 callType: GRPCCallType ,
267271 interceptors: [ ServerInterceptor < Request , Response > ] ,
268- userHandler: @escaping @Sendable (
269- GRPCAsyncRequestStream < Request > ,
270- GRPCAsyncResponseStreamWriter < Response > ,
271- GRPCAsyncServerCallContext
272- ) async throws -> Void
272+ userHandler:
273+ @escaping @Sendable (
274+ GRPCAsyncRequestStream < Request > ,
275+ GRPCAsyncResponseStreamWriter < Response > ,
276+ GRPCAsyncServerCallContext
277+ ) async throws -> Void
273278 ) {
274279 self . serializer = responseSerializer
275280 self . deserializer = requestDeserializer
0 commit comments