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
15
15
16
16
IOperationResult Execute ( IOperation op ) ;
17
17
Task < IOperationResult > ExecuteAsync ( IOperation op ) ;
18
- bool ExecuteAsync ( IOperation op , Action < bool > next ) ;
18
+ Task < bool > ExecuteAsync ( IOperation op , Action < bool > next ) ;
19
19
20
20
// PooledSocket CreateSocket(TimeSpan connectionTimeout, TimeSpan receiveTimeout);
21
21
Original file line number Diff line number Diff line change @@ -961,9 +961,9 @@ async Task<IOperationResult> IMemcachedNode.ExecuteAsync(IOperation op)
961
961
return await this . ExecuteOperationAsync ( op ) ;
962
962
}
963
963
964
- bool IMemcachedNode . ExecuteAsync ( IOperation op , Action < bool > next )
964
+ async Task < bool > IMemcachedNode . ExecuteAsync ( IOperation op , Action < bool > next )
965
965
{
966
- return this . ExecuteOperationAsync ( op , next ) . Result ;
966
+ return await ExecuteOperationAsync ( op , next ) ;
967
967
}
968
968
969
969
event Action < IMemcachedNode > IMemcachedNode . Failed
You can’t perform that action at this time.
0 commit comments