Example #1
0
 internal T ExecuteWithReplication <T>(HttpMethod method, Func <OperationMetadata, IRequestTimeMetric, T> operation)
 {
     return
         (AsyncHelpers.RunSync(() => asyncServerClient.ExecuteWithReplication(method, (operationMetadata, requestTimeMetric) => Task.FromResult(operation(operationMetadata, requestTimeMetric)))));
 }