Skip to content

Commit

Permalink
Fixed #3
Browse files Browse the repository at this point in the history
  • Loading branch information
iloktionov committed Mar 15, 2019
1 parent 792d16a commit 50b8e10
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions Vostok.ClusterClient.Core/IClusterClientExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,16 @@ namespace Vostok.Clusterclient.Core
[PublicAPI]
public static class IClusterClientExtensions
{
/// <inheritdoc cref="IClusterClient.SendAsync"/>
[NotNull]
public static ClusterResult Send(
[NotNull] this IClusterClient client,
[NotNull] Request request)
=> client
.SendAsync(request)
.GetAwaiter()
.GetResult();

/// <inheritdoc cref="IClusterClient.SendAsync"/>
[NotNull]
public static ClusterResult Send(
Expand Down

0 comments on commit 50b8e10

Please sign in to comment.