internal Task <MessageRpc> DispatchAsync(MessageRpc rpc, bool isOperationContextSet) { rpc.ErrorProcessor = ProcessError; rpc.AsyncProcessor = ProcessMessageAsync; var task = rpc.ProcessAsync(isOperationContextSet); rpc._processCallReturned = true; return(task); }
internal Task <MessageRpc> DispatchAsync(ref MessageRpc rpc, bool isOperationContextSet) { rpc.ErrorProcessor = processMessageNonCleanupError; rpc.AsyncProcessor = ProcessMessageAsync; return(rpc.ProcessAsync(isOperationContextSet)); }