File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ public interface IMemcachedNode : IDisposable
1515
1616 IOperationResult Execute ( IOperation op ) ;
1717 Task < IOperationResult > ExecuteAsync ( IOperation op ) ;
18- bool ExecuteAsync ( IOperation op , Action < bool > next ) ;
18+ Task < bool > ExecuteAsync ( IOperation op , Action < bool > next ) ;
1919
2020 // PooledSocket CreateSocket(TimeSpan connectionTimeout, TimeSpan receiveTimeout);
2121
Original file line number Diff line number Diff line change @@ -961,9 +961,9 @@ async Task<IOperationResult> IMemcachedNode.ExecuteAsync(IOperation op)
961961 return await this . ExecuteOperationAsync ( op ) ;
962962 }
963963
964- bool IMemcachedNode . ExecuteAsync ( IOperation op , Action < bool > next )
964+ async Task < bool > IMemcachedNode . ExecuteAsync ( IOperation op , Action < bool > next )
965965 {
966- return this . ExecuteOperationAsync ( op , next ) . Result ;
966+ return await ExecuteOperationAsync ( op , next ) ;
967967 }
968968
969969 event Action < IMemcachedNode > IMemcachedNode . Failed
You can’t perform that action at this time.
0 commit comments