You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by "complone (GitHub)" <gi...@apache.org> on 2019/03/22 02:28:18 UTC

[GitHub] [incubator-dubbo] complone commented on issue #3715: 为什么dubbo2.7的异步调用返回的结果不用netty4.0的ChannelFurture处理呢

> Because it can only execute callbacks after a successful send, but what we need is to perform a callback after the result is returned.

But I look at the documentation, he will return when you finish or do not complete the IO operation.

Doc:

```A ChannelFuture is either uncompleted or completed. When an I/O operation begins, a new future object is created. The new future is uncompleted initially - it is neither succeeded, failed, nor cancelled because the I/O operation is not finished yet. If the I/O operation is finished either successfully, with failure, or by cancellation, the future is marked as completed with more specific information, such as the cause of the failure. Please note that even failure and cancellation belong to the completed state.```

[ Full content available at: https://github.com/apache/incubator-dubbo/issues/3715 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org