Instance Methodgrpc-swift 2.0.0GRPCCore
addRPCCancelledHandler(_:)
Adds a handler which is invoked when the RPC is cancelled.
func addRPCCancelledHandler(_ handler: @escaping () -> Void) -> UInt64?
Returns
The ID of the handler, if it was added, or nil
if the RPC is already cancelled.