Required Instance Methodgrpc-swift 2.0.0GRPCCore
finish
Indicate to the writer that no more writes are to be accepted.
func finish() async
All writes after finish
has been called should result in an error being thrown.
Indicate to the writer that no more writes are to be accepted.
func finish() async
All writes after finish
has been called should result in an error being thrown.
import GRPCCore
A gRPC library for Swift written natively in Swift.
protocol ClosableRPCWriterProtocol<Element> : RPCWriterProtocol
A type into which values can be written until it is finished.
func finish(throwing error: any Error) async
Indicate to the writer that no more writes are to be accepted because an error occurred.