Skip to content

Commit 2d1e988

Browse files
fixup: Following rebase
Signed-off-by: Si Beaumont <[email protected]>
1 parent e6c5872 commit 2d1e988

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Sources/GRPC/AsyncAwaitSupport/GRPCClient+AsyncAwaitSupport.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -397,10 +397,10 @@ extension GRPCClient {
397397
try Task.checkCancellation()
398398
for try await request in requests {
399399
try Task.checkCancellation()
400-
try await call.sendMessage(request)
400+
try await call.requestStream.send(request)
401401
}
402402
try Task.checkCancellation()
403-
try await call.sendEnd()
403+
try await call.requestStream.finish()
404404
try Task.checkCancellation()
405405
}
406406
return try await withTaskCancellationHandler {
@@ -431,10 +431,10 @@ extension GRPCClient {
431431
try Task.checkCancellation()
432432
for try await request in requests {
433433
try Task.checkCancellation()
434-
try await call.sendMessage(request)
434+
try await call.requestStream.send(request)
435435
}
436436
try Task.checkCancellation()
437-
try await call.sendEnd()
437+
try await call.requestStream.finish()
438438
} onCancel: {
439439
Task.detached {
440440
try await call.cancel()

0 commit comments

Comments
 (0)